mirror of
https://github.com/correl/mercenary.git
synced 2024-11-23 11:09:50 +00:00
Correl Roush
1cf438da9b
* 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
20 lines
No EOL
506 B
CMake
20 lines
No EOL
506 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
project (ircclient)
|
|
|
|
option (WITH_GUI "Build the GUI test app" ON)
|
|
set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
|
find_package (Qt4 REQUIRED)
|
|
set (QT_DONT_USE_QTGUI TRUE)
|
|
set (QT_USE_QTNETWORK TRUE)
|
|
|
|
include (${QT_USE_FILE})
|
|
set (LIBS ${QT_LIBRARIES})
|
|
add_subdirectory(src)
|
|
add_subdirectory(mirc)
|
|
add_subdirectory(testapp)
|
|
if (WITH_GUI)
|
|
set (QT_DONT_USE_QTGUI FALSE)
|
|
include (${QT_USE_FILE})
|
|
set (LIBS ${QT_LIBRARIES})
|
|
add_subdirectory(guiapp)
|
|
endif() |