Cleanup after SVN importation, <ccb> builder script adaptation.
Project hierarchy reorganisation:
* With svn, we were doing a tool by tool checkout, suppressing the
whole repository hierarchy level.
* The tools were also grouped, inside one repository, into multiple
projects (<bootstrap>, <vlsisapd>, <coriolis>).
* We do not want to split up each tool into a separate repository,
given their tight integration (except for vlsisapd).
* We choose to simplify, and consider all tools in a svn repository
one project. Due to the way Git clone repositories, the directory
containing the project is now to be seen under "src/".
CMake modifications:
* Now that the <vlsisapd> and <bootstrap> projects are merged into
coriolis, modificate the top CMakeLists.txt of each tool to uses
only Coriolis (and bootstrap hard wired).
CCB compile script modifications:
* Uses the new source tree hierarchy, with the project directory
inserted.
* Remove (comment) all parts relateds to svn managment.
* Git is sufficiently simple so that we do not want to integrate
command shortcut into the script.
SVN cleanup:
* Remove the obsolete <chamsin> tool, that has become the full fledged
<chams> project long time ago.
2014-02-26 11:24:41 -06:00
|
|
|
# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<stratus1>" -*-
|
2010-07-12 10:33:22 -05:00
|
|
|
|
2014-07-13 06:14:49 -05:00
|
|
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
2010-07-15 09:40:24 -05:00
|
|
|
project(STRATUS1)
|
|
|
|
|
2011-01-09 12:28:00 -06:00
|
|
|
option(BUILD_DOC "Build the documentation (latex2html)" OFF)
|
|
|
|
|
2010-07-15 09:40:24 -05:00
|
|
|
cmake_minimum_required(VERSION 2.4.0)
|
2014-03-15 04:47:37 -05:00
|
|
|
list(INSERT CMAKE_MODULE_PATH 0 "${DESTDIR}$ENV{CORIOLIS_TOP}/share/cmake/Modules/")
|
2010-07-15 09:40:24 -05:00
|
|
|
find_package(Bootstrap REQUIRED)
|
|
|
|
setup_project_paths(CORIOLIS)
|
|
|
|
|
|
|
|
find_package(Bootstrap REQUIRED)
|
|
|
|
set_cmake_policies()
|
2011-01-10 09:23:48 -06:00
|
|
|
# The flaw is in UseLATEX.cmake.
|
|
|
|
cmake_policy(SET CMP0002 OLD)
|
2011-02-15 07:16:35 -06:00
|
|
|
setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
|
2010-07-15 09:40:24 -05:00
|
|
|
|
2017-07-11 10:52:58 -05:00
|
|
|
find_package(PythonLibs 2 REQUIRED)
|
2010-07-15 09:40:24 -05:00
|
|
|
find_package(PythonSitePackages REQUIRED)
|
|
|
|
find_package(VLSISAPD REQUIRED)
|
|
|
|
find_package(HURRICANE REQUIRED)
|
|
|
|
find_package(CORIOLIS REQUIRED)
|
2011-01-09 12:28:00 -06:00
|
|
|
if(BUILD_DOC)
|
|
|
|
include(UseLATEX)
|
|
|
|
endif(BUILD_DOC)
|
2010-07-15 09:40:24 -05:00
|
|
|
|
|
|
|
add_subdirectory(src)
|
|
|
|
add_subdirectory(etc)
|
2011-01-09 12:28:00 -06:00
|
|
|
if(BUILD_DOC)
|
|
|
|
add_subdirectory(doc)
|
|
|
|
endif(BUILD_DOC)
|