2010-03-09 09:23:58 -06:00
|
|
|
|
2010-07-15 09:31:21 -05:00
|
|
|
project(KNIK)
|
|
|
|
|
|
|
|
cmake_minimum_required(VERSION 2.4.0)
|
|
|
|
|
|
|
|
list(INSERT CMAKE_MODULE_PATH 0 "$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/")
|
|
|
|
find_package(Bootstrap REQUIRED)
|
|
|
|
setup_project_paths(VLSISAPD)
|
|
|
|
setup_project_paths(CORIOLIS)
|
|
|
|
print_cmake_module_path()
|
|
|
|
|
|
|
|
set_cmake_policies()
|
|
|
|
set_lib_link_mode()
|
|
|
|
setup_boost(program_options filesystem python regex)
|
|
|
|
|
|
|
|
set(QT_USE_QTXML "true")
|
|
|
|
find_package(Qt4 REQUIRED) # find and setup Qt4 for this project
|
|
|
|
find_package(HURRICANE REQUIRED)
|
|
|
|
find_package(CORIOLIS REQUIRED)
|
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(cmake_modules)
|