root/trunk/Jamfile

Revision 21 (checked in by kai, 2 years ago)

Initial commit of ShortHike sources and assets.

Line 
1 # --------------------------------------------------------------------------------
2 # Jam file for ShortHike
3
4 # include local configuration
5 include [ FDirName $(TOP) config.jam ] ;
6
7 # Force read of Jamrules first
8 SubDir TOP ;
9
10 SubInclude TOP assets ;
11 SubInclude TOP libraries ;
12 SubInclude TOP scm ;
13 SubInclude TOP sources ;
14
15 # Force back our local settings
16 SubDir TOP ;
17
18
19 #--------------------------------------------------------------------------------
20 # Set target distributions for program. This needs to be first
21
22 DISTRIBUTIONS on ShortHike += binary ;
23 DISTRIBUTIONS on HotCopy += binary ;
24
25 LIBRARIES_DIR = [ FDirName $(TOP) libraries ] ;
26
27 # ================================================================================
28 # ShortHike
29
30 ProgramExeName ShortHike : ShortHike ;
31
32 Program ShortHike ;
33 UnitTest ShortHike ;
34
35 if $(OS) = "NT" {
36 #  ReleaseDLL ShortHike : $(WINDOWS_DIR) : DbgHelp.dll ;
37 SingleDLL ShortHike : [ FDirName $(LIBRARIES_DIR) win32 ] : fmod.dll ;
38 SingleDLL ShortHike : [ FDirName $(LIBRARIES_DIR) win32 ] : freetype.dll ;
39 SingleDLL ShortHike : [ FDirName $(LIBRARIES_DIR) win32 ] : libpng13.dll ;
40 SingleDLL ShortHike : [ FDirName $(LIBRARIES_DIR) win32 ] : zlib1.dll ;
41 }
42
43 # ================================================================================
44 # HotCopy, the tool used to copy over the exe files and relaunch ShortHike
45
46 # Program HotCopy ;
47
48
49 # ================================================================================
50 # Target directories
51
52 TargetDirectory assets : assets ;
53 TargetDirectory scm : scm ;
54 TargetDirectory binary : binary_win32 ;
55
56 #RSYNC_ROOT_URL = "kai@www.shorthike.com:/home/www/test_update/trunk" ;
57 #RSYNC_SERVER_URL = "rsync://127.0.0.1:51010/home" ;
58
59 #ServerDistribute [ FDirName target_assets-standard assets ] : : "$(RSYNC_ROOT_URL)/assets_standard" ;
60 #ServerDistribute [ FDirName target_assets-complete assets ] : : "$(RSYNC_ROOT_URL)/assets_complete" ;
61 #ServerDistribute [ FDirName target_binary binary_win32 ] : : "$(RSYNC_ROOT_URL)/binary_win32" ;
62
63 #ServerDistribute [ FDirName target_server server ] : : server : "$(RSYNC_SERVER_URL)/server/test_server" ;
64
65 #ServerDistribute [ FDirName target_assets-standard assets ] : :
66 #[ FDirName $(SVN_SHORTHIKE_PUBLIC_DEVELOPER) assets_standard ] :
67 #"$(SVN_SHORTHIKE_PUBLIC_URL)/assets_standard" ;
68
69 #ServerDistribute [ FDirName target_assets-complete assets ] : :
70 #[ FDirName $(SVN_SHORTHIKE_PUBLIC_DEVELOPER) assets_complete ] :
71 #"$(SVN_SHORTHIKE_PUBLIC_URL)/assets_complete" ;
72
73 #ServerDistribute [ FDirName target_binary binary_win32 ] : :
74 #[ FDirName $(SVN_SHORTHIKE_PUBLIC_DEVELOPER) binary_win32 ] :
75 #"$(SVN_SHORTHIKE_PUBLIC_URL)/binary_win32" ;
76
77
78 InstallerWin32
79 [ FDirName target_assets assets filelist.txt ]
80 [ FDirName target_binary binary_win32 filelist.txt ]
81 [ FDirName target_scm scm filelist.txt ]
82 :
83 [ FDirName $(TOP) target_installer ] ;
84
Note: See TracBrowser for help on using the browser.