coriolis/bootstrap/CMakeLists.txt

34 lines
1.0 KiB
CMake
Raw Normal View History

# -*- mode: CMAKE explicit-buffer-name: "CMakeLists.txt<bootstrap>" -*-
2010-07-13 06:26:04 -05:00
set(CMAKE_LEGACY_CYGWIN_WIN32 0)
project(Bootstrap)
2010-07-13 06:26:04 -05:00
cmake_minimum_required(VERSION 2.4.0)
2010-07-13 06:26:04 -05:00
set(ignoreVariables "${BUILD_DOC}")
add_subdirectory(cmake_modules)
list(INSERT CMAKE_MODULE_PATH 0 "${Bootstrap_SOURCE_DIR}/cmake_modules/")
find_package(Bootstrap REQUIRED)
find_package(PythonSitePackages REQUIRED)
print_cmake_module_path()
setup_sysconfdir("${CMAKE_INSTALL_PREFIX}")
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)
install(DIRECTORY builder
DESTINATION ${PYTHON_SITE_PACKAGES} )
install(FILES ccb.py
2011-09-15 05:39:26 -05:00
DESTINATION bin
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)