Last change
on this file since 1236 was 997, checked in by rorothetroll, 14 years ago |
force 32 bit mode on OS X as some debug function don't work in 64 bit mode
|
File size:
482 bytes
|
Line | |
---|
1 | project (csctapi)
|
---|
2 |
|
---|
3 | file (GLOB csctapi_srcs "*.c")
|
---|
4 | file (GLOB csctapi_hdrs "*.h")
|
---|
5 |
|
---|
6 | if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
---|
7 | add_definitions ("-O2 -Winline -Werror -finline-functions -fomit-frame-pointer -s -m32")
|
---|
8 | else (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
---|
9 | add_definitions ("-O2 -Winline -Werror -finline-functions -fomit-frame-pointer -s")
|
---|
10 | endif (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
---|
11 |
|
---|
12 | set (lib_name "csctapi")
|
---|
13 |
|
---|
14 | add_library (${lib_name} STATIC ${csctapi_srcs} ${csctapi_hdrs})
|
---|
15 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.