Changeset View
Changeset View
Standalone View
Standalone View
step/CMakeLists.txt
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 53 | if(STEP_WITH_QALCULATE) | |||
---|---|---|---|---|---|
55 | add_definitions(-DSTEP_WITH_UNITSCALC) | 55 | add_definitions(-DSTEP_WITH_UNITSCALC) | ||
56 | add_definitions(${QALCULATE_CFLAGS}) | 56 | add_definitions(${QALCULATE_CFLAGS}) | ||
57 | set(qalculate_LIBS ${QALCULATE_LIBRARIES} ${CLN_LIBRARIES}) | 57 | set(qalculate_LIBS ${QALCULATE_LIBRARIES} ${CLN_LIBRARIES}) | ||
58 | # To compile with libcln | 58 | # To compile with libcln | ||
59 | string (REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") | 59 | string (REPLACE "-fno-exceptions" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") | ||
60 | add_definitions (-fexceptions) | 60 | add_definitions (-fexceptions) | ||
61 | endif(STEP_WITH_QALCULATE) | 61 | endif(STEP_WITH_QALCULATE) | ||
62 | 62 | | |||
63 | qt5_add_resources(step_SRCS data/resources.qrc) | | |||
64 | ki18n_wrap_ui(step_SRCS ${step_UIS}) | 63 | ki18n_wrap_ui(step_SRCS ${step_UIS}) | ||
65 | kconfig_add_kcfg_files(step_SRCS ${step_KCFGS}) | 64 | kconfig_add_kcfg_files(step_SRCS ${step_KCFGS}) | ||
66 | 65 | | |||
67 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 66 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
68 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}) | 67 | include_directories(${CMAKE_CURRENT_SOURCE_DIR}) | ||
69 | 68 | | |||
70 | ecm_create_qm_loader(step_SRCS step_qt) | 69 | ecm_create_qm_loader(step_SRCS step_qt) | ||
71 | 70 | | |||
Show All 25 Lines |