INCLUDE_DIRECTORIES( ${CMAKE_BINARY_DIR}/tools/misc/message_box_qt/ ) INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/tools/misc/message_box_qt/ ) INCLUDE( ${QT_USE_FILE} ) FILE(GLOB MESSAGE_BOX_SRC *.cpp) SET( QT_USE_QT3SUPPORT TRUE) SET( QT_USE_QTXML TRUE) ADD_EXECUTABLE(message_box_qt ${MESSAGE_BOX_SRC}) INCLUDE_DIRECTORIES(${QT_INCLUDES}) TARGET_LINK_LIBRARIES(message_box_qt ${QT_LIBRARIES} ${PLATFORM_LINKFLAGS} nelmisc) NL_DEFAULT_PROPS(message_box_qt "Tools, Misc: Qt Message Box") ADD_DEFINITIONS(${QT_DEFINITIONS}) INSTALL(TARGETS message_box_qt RUNTIME DESTINATION bin COMPONENT toolsmisc)