- ${QT_INCLUDE_DIRS}
- ${OMNIORB_INCLUDE_DIRS}
- ${BOOST_INCLUDE_DIRS}
- ${PTHREAD_INCLUDE_DIRS}
- ${KERNEL_ROOT_DIR}/include/salome
- ${CMAKE_BINARY_DIR}/idl
- ${CMAKE_CURRENT_SOURCE_DIR}/../Qtx
- ${CMAKE_CURRENT_SOURCE_DIR}/../SUIT)
-
-SET(COMMON_LIBS
- ${QT_MT_LIBS}
- suit
+ ${OMNIORB_INCLUDE_DIR}
+ ${Boost_INCLUDE_DIRS}
+ ${PTHREAD_INCLUDE_DIR}
+ ${PROJECT_SOURCE_DIR}/src/Qtx
+ ${PROJECT_SOURCE_DIR}/src/SUIT
+)
+
+# additional preprocessor / compiler flags
+ADD_DEFINITIONS(
+ ${QT_DEFINITIONS}
+ ${CAS_DEFINITIONS}
+ ${BOOST_DEFINITIONS}
+ ${OMNIORB_DEFINITIONS}
+)
+
+# libraries to link to
+SET(_link_LIBRARIES
+ ${QT_LIBRARIES}