mirror of
https://github.com/correl/mercenary.git
synced 2024-11-14 19:19:32 +00:00
Correl Roush
34b445fe87
git-svn-id: file:///srv/svn/ircclient/trunk@6 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
18 lines
No EOL
588 B
CMake
18 lines
No EOL
588 B
CMake
set (guiapp_SOURCES
|
|
main.cpp
|
|
messagehandler.cpp
|
|
)
|
|
set (guiapp_MOC_HEADERS
|
|
chatwindow.h
|
|
messagehandler.h
|
|
)
|
|
QT4_WRAP_CPP (guiapp_MOC_SOURCES ${guiapp_MOC_HEADERS})
|
|
QT4_WRAP_UI (guiapp_ui chatwindow.ui)
|
|
include_directories(${ircclient_SOURCE_DIR}/src)
|
|
include_directories(${ircclient_SOURCE_DIR}/mirc/includes)
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
link_directories(${ircclient_BINARY_DIR}/src)
|
|
link_directories(${ircclient_BINARY_DIR}/mirc/src)
|
|
|
|
add_executable(guiapp ${guiapp_SOURCES} ${guiapp_MOC_SOURCES} ${guiapp_ui})
|
|
target_link_libraries (guiapp ircclient mirc ${LIBS}) |