Changeset View
Changeset View
Standalone View
Standalone View
karbon/CMakeLists.txt
1 | project(karbon) | 1 | project(karbon) | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | #Set the correct compiler options | 3 | #Set the correct compiler options | ||
4 | if(CMAKE_SIZEOF_VOID_P EQUAL 4) | 4 | if(CMAKE_SIZEOF_VOID_P EQUAL 4) | ||
5 | # 32 bit | 5 | # 32 bit | ||
6 | message(STATUS "Karbon detected that you use a 32 bit processor.") | 6 | message(STATUS "Karbon detected that you use a 32 bit processor.") | ||
7 | else() | 7 | else() | ||
8 | # 64 bit (well, anything else than 32 bit, but someone use something else than 32 or 64 bit ?) | 8 | # 64 bit (well, anything else than 32 bit, but someone use something else than 32 or 64 bit ?) | ||
9 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") | 9 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") | ||
10 | message(STATUS "Karbon detected that you use a 64 bit processor. Added -fPIC to the CXX_FLAGS.") | 10 | message(STATUS "Karbon detected that you use a 64 bit processor. Added -fPIC to the CXX_FLAGS.") | ||
11 | endif() | 11 | endif() | ||
12 | 12 | | |||
13 | add_definitions(-DTRANSLATION_DOMAIN=\"karbon\") | 13 | add_definitions(-DTRANSLATION_DOMAIN=\"karbon\") | ||
14 | 14 | | |||
15 | include_directories( | 15 | include_directories( | ||
16 | ${KOPAGEAPP_INCLUDES} | ||||
16 | ${FLAKE_INCLUDES} | 17 | ${FLAKE_INCLUDES} | ||
17 | ${KOTEXT_INCLUDES} | 18 | ${KOTEXT_INCLUDES} | ||
18 | ${KOMAIN_INCLUDES} | 19 | ${KOMAIN_INCLUDES} | ||
19 | ${CMAKE_SOURCE_DIR}/karbon/ui | 20 | ${CMAKE_SOURCE_DIR}/karbon/ui | ||
20 | ${CMAKE_SOURCE_DIR}/karbon/common | 21 | ${CMAKE_SOURCE_DIR}/karbon/common | ||
21 | ${CMAKE_SOURCE_DIR}/karbon/common/commands | 22 | ${CMAKE_SOURCE_DIR}/karbon/common/commands | ||
22 | ) | 23 | ) | ||
23 | 24 | | |||
▲ Show 20 Lines • Show All 55 Lines • Show Last 20 Lines |