mirror of https://github.com/AxioDL/amuse.git
Add standalone bootstrap script
This commit is contained in:
parent
2a2a16fd17
commit
260ec5bb93
|
@ -1,7 +1,14 @@
|
||||||
|
cmake_minimum_required(VERSION 3.0)
|
||||||
project(amuse)
|
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(boo)
|
||||||
|
add_subdirectory(athena)
|
||||||
|
include_directories(athena/include)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(SOURCES
|
set(SOURCES
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue