Add standalone bootstrap script

This commit is contained in:
Jack Andersen 2016-07-18 07:52:17 -10:00
parent 2a2a16fd17
commit 260ec5bb93
2 changed files with 19 additions and 1 deletions

View File

@ -1,7 +1,14 @@
cmake_minimum_required(VERSION 3.0)
project(amuse)
if(EXISTS boo)
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/boo AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/athena)
message(STATUS "Preparing standalone build")
if (NOT MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-narrowing")
endif()
add_subdirectory(boo)
add_subdirectory(athena)
include_directories(athena/include)
endif()
set(SOURCES

11
standalone_bootstrap.sh Executable file
View File

@ -0,0 +1,11 @@
#!/bin/sh
git clone https://github.com/AxioDL/boo.git
pushd boo
git submodule update --recursive --init
popd
git clone https://github.com/libAthena/athena.git
pushd athena
git submodule update --recursive --init
popd