Line | |
---|
1 | cmake_minimum_required (VERSION 2.6) |
---|
2 | project (SWIFT) |
---|
3 | |
---|
4 | add_definitions ("-Wall -pedantic -fno-strict-aliasing -O2") |
---|
5 | set (CMAKE_C_FLAGS "-std=c99") |
---|
6 | |
---|
7 | #add_definitions(-DSWIFT_USE_CUSTOM_ALLOCATOR) |
---|
8 | #add_definitions(-DSWIFT_USE_CUSTOM_THREAD_ALLOCATOR) |
---|
9 | #add_definitions(-DLOGGING_ON) |
---|
10 | |
---|
11 | if( CMAKE_COMPILER_IS_GNUC OR CMAKE_COMPILER_IS_GNUCXX ) |
---|
12 | add_definitions(-DGNU_COMPILER) |
---|
13 | endif () |
---|
14 | |
---|
15 | add_subdirectory (src) |
---|
16 | add_subdirectory (test) |
---|
Note: See
TracBrowser
for help on using the repository browser.