33 lines
935 B
CMake
33 lines
935 B
CMake
# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<ispd>" -*-
|
|
|
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
|
project(ISPD)
|
|
|
|
cmake_minimum_required(VERSION 2.4.0)
|
|
|
|
option(USE_LIBBFD "Link with BFD libraries to print stack traces" OFF)
|
|
|
|
list(INSERT CMAKE_MODULE_PATH 0 "$ENV{CORIOLIS_TOP}/share/cmake/Modules/")
|
|
find_package(Bootstrap REQUIRED)
|
|
setup_project_paths(CORIOLIS)
|
|
|
|
set_cmake_policies()
|
|
#setup_apple()
|
|
setup_boost(program_options)
|
|
|
|
find_package(LibXml2 REQUIRED)
|
|
set(QT_USE_QTXML "true")
|
|
find_package(Qt4 REQUIRED)
|
|
find_package(Python 3 REQUIRED COMPONENTS Interpreter Development)
|
|
find_package(PythonSitePackages REQUIRED)
|
|
find_package(HURRICANE REQUIRED)
|
|
find_package(CORIOLIS REQUIRED)
|
|
find_package(KNIK REQUIRED)
|
|
find_package(LEFDEF REQUIRED)
|
|
#find_package(KATABATIC REQUIRED)
|
|
#find_package(KITE REQUIRED)
|
|
#find_package(EQUINOX REQUIRED)
|
|
#find_package(SOLSTICE REQUIRED)
|
|
|
|
add_subdirectory(src)
|