Changeset 527 for trunk/thune/CMakeLists.txt
- Timestamp:
- 05/26/08 17:22:18 (6 months ago)
- Files:
-
- 1 modified
-
trunk/thune/CMakeLists.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/CMakeLists.txt
r518 r527 1 1 project(Thune C) 2 2 3 # set(CMAKE_BUILD_TYPE Debug) 4 set(CMAKE_BUILD_TYPE Release) 5 6 # Config defines 7 add_definitions( 8 -DLANG_THUNE 9 -DUR_CONFIG_BZIP2 10 -DUR_CONFIG_TRIG 11 -DUR_CONFIG_MATH3D 12 -DUR_CONFIG_DATAFLOW 13 -DUR_CONFIG_NET 14 -DUR_CONFIG_MACROS 15 ) 3 #set(CMAKE_BUILD_TYPE Debug) 4 set(CMAKE_BUILD_TYPE Release) 16 5 17 6 … … 22 11 set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake_modules/") 23 12 13 14 # Config defines 15 add_definitions( 16 -DLANG_THUNE 17 -DUR_CONFIG_BZIP2 18 -DUR_CONFIG_TRIG 19 -DUR_CONFIG_MATH3D 20 -DUR_CONFIG_DATAFLOW 21 -DUR_CONFIG_FCALC 22 -DUR_CONFIG_NET 23 -DUR_CONFIG_MACROS 24 ) 25 26 if(CMAKE_BUILD_TYPE STREQUAL "Debug") 27 add_definitions(-DDEBUG) 28 endif () 29 30 24 31 if (UNIX) 25 include_directories(. unix)26 add_definitions(-std=c99 -pedantic -D_GNU_SOURCE)32 include_directories(. unix) 33 add_definitions(-std=c99 -pedantic -D_GNU_SOURCE) 27 34 set(OS_FILE unix/os.c) 28 35 endif () 29 36 30 37 if (WIN32) 31 include_directories(. win32)38 include_directories(. win32) 32 39 set(OS_FILE win32/os.c) 33 40 endif () … … 35 42 36 43 add_library(thune-lib SHARED 37 urlan.c38 array.c39 list.c40 make.c41 eval.c42 thread.c43 gc.c44 tokenize.c45 charset.c46 context.c47 print.c48 series.c49 parse.c50 stdio.c51 files.c52 math.c53 bignum.c54 support/mt19937ar.c44 urlan.c 45 array.c 46 list.c 47 make.c 48 eval.c 49 thread.c 50 gc.c 51 tokenize.c 52 charset.c 53 context.c 54 print.c 55 series.c 56 parse.c 57 stdio.c 58 files.c 59 math.c 60 bignum.c 61 support/mt19937ar.c 55 62 ${OS_FILE} 56 63 )
