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)
|
|
|
|
|
2011-02-02 05:19:55 -06:00
|
|
|
list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}/$ENV{BOOTSTRAP_TOP}/share/cmake/Modules/")
|
2010-07-15 09:31:21 -05:00
|
|
|
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
|
2013-04-22 10:36:02 -05:00
|
|
|
find_package(VLSISAPD REQUIRED)
|
2010-07-15 09:31:21 -05:00
|
|
|
find_package(HURRICANE REQUIRED)
|
|
|
|
find_package(CORIOLIS REQUIRED)
|
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(cmake_modules)
|