This repository has been archived by the owner on Jul 12, 2021. It is now read-only.
forked from daokoder/dao-modules
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.dao
67 lines (41 loc) · 2.5 KB
/
makefile.dao
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
modules = DaoMake::Project( "DaoModules" );
daovm = DaoMake::FindPackage( "Dao", $REQUIRED )
if( daovm == none ) return
if( modules.SourcePath() != modules.BinaryPath() ){
src = modules.SourcePath() /"pkgtools";
dest = modules.BinaryPath() /"../lib/dao/modules/";
modules.AddCommand( "copypkgtools:", "$(DAOMAKE) copy " + src + " " + dest );
}
modules.AddDirectory( "math", "math" )
modules.AddDirectory( "meta", "meta" )
modules.AddDirectory( "bigint", "bigint" )
modules.AddDirectory( "coroutine", "coroutine" )
modules.AddDirectory( "protobject", "protobject" )
modules.AddDirectory( "serializer", "serializer" )
modules.AddDirectory( "dataframe", "dataframe" )
if( DaoMake::IsDir( "DaoJIT" ) ) modules.AddDirectory( "DaoJIT", "DaoJIT" );
if( DaoMake::IsDir( "string" ) ) modules.AddDirectory( "string", "string" );
if( DaoMake::IsDir( "graph" ) ) modules.AddDirectory( "graph", "graph" );
if( DaoMake::IsDir( "time" ) ) modules.AddDirectory( "time", "time" );
if( DaoMake::IsDir( "net" ) ) modules.AddDirectory( "net", "net" );
# Temporarily diabled, for not compiling without thread:
if( DaoMake::IsDir( "os" ) ) modules.AddDirectory( "os", "os" );
if( DaoMake::IsDir( "binary" ) ) modules.AddDirectory( "binary", "binary" );
if( DaoMake::IsDir( "sync" ) ) modules.AddDirectory( "sync", "sync" );
if( DaoMake::IsDir( "xml" ) ) modules.AddDirectory( "xml", "xml" );
if( DaoMake::IsDir( "zip" ) ) modules.AddDirectory( "zip", "zip" );
if( DaoMake::IsDir( "crypto" ) ) modules.AddDirectory( "crypto", "crypto" );
if( DaoMake::IsDir( "web" ) ) modules.AddDirectory( "web", "web" );
if( DaoMake::IsDir( "statistics" ) ) modules.AddDirectory( "statistics", "statistics" );
if( DaoMake::IsDir( "DaoSDL" ) ) modules.AddDirectory( "SDL", "DaoSDL" );
#if( DaoMake::IsDir( "DaoGraphicsMagick" ) ) modules.AddDirectory( "GraphicsMagick", "DaoGraphicsMagick" );
if( DaoMake::IsDir( "DaoGraphics" ) ) modules.AddDirectory( "Graphics", "DaoGraphics" );
if( not DaoMake::IsPlatform( "IOS" ) ){
if( DaoMake::IsDir( "DaoOpenGL" ) ) modules.AddDirectory( "OpenGL", "DaoOpenGL" );
if( DaoMake::IsDir( "clinker" ) ) modules.AddDirectory( "clinker", "clinker" );
if( DaoMake::IsDir( "DaoCXX" ) ) modules.AddDirectory( "DaoCXX", "DaoCXX" );
if( DaoMake::IsDir( "cblas" ) ) modules.AddDirectory( "cblas", "cblas" );
if( DaoMake::IsDir( "DaoFLTK" ) ) modules.AddDirectory( "FLTK", "DaoFLTK" );
if( DaoMake::IsDir( "DaoSQL" ) ) modules.AddDirectory( "DaoSQL", "DaoSQL" );
if( DaoMake::IsDir( "DaoGSL" ) ) modules.AddDirectory( "GSL", "DaoGSL" );
}