diff --git a/demos/brunel-simulation/CMakeLists.txt b/demos/brunel-simulation/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..14ac85f5bac12fe1802cafe2a5bfdbdfcda71905 --- /dev/null +++ b/demos/brunel-simulation/CMakeLists.txt @@ -0,0 +1,29 @@ +#------------------------------------------------------------------------------- +# nest-streaming-module +# +# Copyright (c) 2018 RWTH Aachen University, Germany, +# Virtual Reality & Immersive Visualization Group. +#------------------------------------------------------------------------------- +# License +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +#------------------------------------------------------------------------------- + +get_filename_component(NEST_DIR ${with-nest} DIRECTORY) + +file(GENERATE + OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/run_sim.sh + CONTENT +"source ${NEST_DIR}/bin/nest_vars.sh +PYTHONPATH=${PYNIV_OUTPUT_DIR}/..:/home/devs/Desktop/projects/nesci/build/pynesci:/home/devs/Desktop/projects/contra/build/pycontra:$PYTHONPATH ${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/${NEST_SIM_SOURCE}" + ) \ No newline at end of file