mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
23 lines
No EOL
642 B
CMake
23 lines
No EOL
642 B
CMake
cmake_minimum_required(VERSION 2.8)
|
|
project(Fervor)
|
|
find_package(Qt4 REQUIRED)
|
|
|
|
add_definitions(-DFV_GUI)
|
|
|
|
file(GLOB FERVOR_SOURCES *.cpp)
|
|
file(GLOB FERVOR_HEADERS *.h)
|
|
file(GLOB FERVOR_UI *.ui)
|
|
|
|
qt4_wrap_ui(FERVOR_WRAPPED_UI ${FERVOR_UI})
|
|
qt4_wrap_cpp(FERVOR_MOC_SOURCES ${FERVOR_HEADERS})
|
|
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/../cmake/modules/")
|
|
find_package(Quazip REQUIRED)
|
|
|
|
include_directories(
|
|
${CMAKE_CURRENT_BINARY_DIR}
|
|
${QUAZIP_INCLUDE_DIRS}
|
|
)
|
|
|
|
add_library(fervor ${FERVOR_SOURCES} ${FERVOR_HEADERS} ${FERVOR_MOC_SOURCES} ${FERVOR_WRAPPED_UI})
|
|
target_link_libraries(fervor ${QUAZIP_LIBRARIES}) |