mercenary/mirc/CMakeLists.txt
Correl Roush 1cf438da9b Big updates...
* alias calls work, and internal aliases can be registered through the
   script manager
 * Updated the build system to use cmake. Makes things so much nicer.


git-svn-id: file:///srv/svn/ircclient/trunk@5 a9804ffe-773b-11dd-bd7c-89c3ef1d2733
2009-04-17 02:45:22 +00:00

17 lines
No EOL
447 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})