coriolis/hurricane/src/CMakeLists.txt

18 lines
521 B
CMake
Raw Normal View History

2007-12-26 16:33:51 -06:00
project(HURRICANE)
cmake_minimum_required(VERSION 2.4.0)
2007-12-27 05:46:42 -06:00
set(CMAKE_MODULE_PATH "${HURRICANE_SOURCE_DIR}/cmake_modules/")
2007-12-26 16:33:51 -06:00
find_package(Qt4 REQUIRED) # find and setup Qt4 for this project
2007-12-27 10:15:28 -06:00
find_package(BISON REQUIRED)
find_package(FLEX REQUIRED)
2007-12-26 16:33:51 -06:00
add_subdirectory(hurricane)
add_subdirectory(analogic)
2008-01-04 10:16:31 -06:00
add_subdirectory(graphical)
2007-12-27 10:15:28 -06:00
set(DEST_DIR "$ENV{DESTDIR}")
configure_file(${HURRICANE_SOURCE_DIR}/hurricane.pc.cmake hurricane.pc @ONLY)
install(FILES ${HURRICANE_BINARY_DIR}/hurricane.pc DESTINATION /share/pkgconfig)