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<bootstrap>" -*-
|
2010-07-13 06:26:04 -05:00
|
|
|
|
2014-07-13 06:14:49 -05:00
|
|
|
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
|
2010-12-13 08:00:40 -06:00
|
|
|
project(Bootstrap)
|
2010-07-13 06:26:04 -05:00
|
|
|
|
2010-12-13 08:00:40 -06:00
|
|
|
cmake_minimum_required(VERSION 2.4.0)
|
2010-07-13 06:26:04 -05:00
|
|
|
|
2017-12-02 07:30:05 -06:00
|
|
|
set(ignoreVariables "${BUILD_DOC}")
|
|
|
|
|
2010-12-13 08:00:40 -06:00
|
|
|
add_subdirectory(cmake_modules)
|
|
|
|
|
|
|
|
list(INSERT CMAKE_MODULE_PATH 0 "${Bootstrap_SOURCE_DIR}/cmake_modules/")
|
|
|
|
find_package(Bootstrap REQUIRED)
|
2013-01-12 08:57:35 -06:00
|
|
|
find_package(PythonSitePackages REQUIRED)
|
2010-12-13 08:00:40 -06:00
|
|
|
print_cmake_module_path()
|
|
|
|
|
2011-02-15 07:15:24 -06:00
|
|
|
setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
|
2010-12-13 08:00:40 -06:00
|
|
|
|
|
|
|
install(FILES coriolisEnv.py coriolis2.sh
|
|
|
|
DESTINATION ${SYS_CONF_DIR}/coriolis2
|
|
|
|
PERMISSIONS OWNER_WRITE
|
|
|
|
OWNER_READ GROUP_READ WORLD_READ
|
|
|
|
OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
|
2011-09-15 05:35:14 -05:00
|
|
|
|
2013-01-12 08:57:35 -06:00
|
|
|
install(DIRECTORY builder
|
|
|
|
DESTINATION ${PYTHON_SITE_PACKAGES} )
|
|
|
|
|
|
|
|
install(FILES ccb.py
|
2011-09-15 05:39:26 -05:00
|
|
|
DESTINATION bin
|
2013-01-12 08:57:35 -06:00
|
|
|
RENAME ccb
|
2011-09-15 05:39:26 -05:00
|
|
|
PERMISSIONS OWNER_WRITE
|
|
|
|
OWNER_READ GROUP_READ WORLD_READ
|
|
|
|
OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
|