mirror of
https://github.com/correl/mercenary.git
synced 2024-11-23 19:19:51 +00:00
Correl Roush
34b445fe87
git-svn-id: file:///srv/svn/ircclient/trunk@6 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
17 lines
448 B
CMake
17 lines
448 B
CMake
set (mirc_SOURCES
|
|
src/mirc.cpp
|
|
src/parser.cpp
|
|
src/script.cpp
|
|
)
|
|
set (mirc_MOC_HEADERS
|
|
includes/mirc.h
|
|
includes/parser.h
|
|
includes/script.h
|
|
)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/includes)
|
|
QT4_WRAP_CPP (mirc_MOC_SOURCES ${mirc_MOC_HEADERS})
|
|
add_library (mirc STATIC ${mirc_SOURCES} ${mirc_MOC_SOURCES})
|
|
|
|
link_directories(${CMAKE_CURRENT_BINARY_DIR})
|
|
add_executable(mirctest src/main.cpp)
|
|
target_link_libraries (mirctest mirc ${LIBS})
|