source: proiecte/swift/trunk/CMakeLists.txt @ 176

Last change on this file since 176 was 176, checked in by (none), 14 years ago
  • imported repo from "guagal"
File size: 430 bytes
Line 
1cmake_minimum_required (VERSION 2.6)
2project (SWIFT)
3
4add_definitions ("-Wall -pedantic -fno-strict-aliasing -O2")
5set (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
11if( CMAKE_COMPILER_IS_GNUC OR CMAKE_COMPILER_IS_GNUCXX )
12    add_definitions(-DGNU_COMPILER)
13endif ()
14
15add_subdirectory (src)
16add_subdirectory (test)
Note: See TracBrowser for help on using the repository browser.