Skip to content

Commit f7600b2

Browse files
author
Marcus Walther
committed
- moved creation of build-folder from clean- to runtimeCPP-target
1 parent 82bcd94 commit f7600b2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

SimulationRuntime/cpp/Makefile.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ endif
4747
ifneq ("$(USE_SUNDIALS_LAPACK)","true")
4848
$(eval SUNDIALS_LAPACK_COMMAND=)
4949
endif
50+
mkdir -p Build
5051
cd ./Build && echo "change to Build" && $(CMAKE_COMMANDS) cmake $(RUNTIME_STATIC_LINKING_COMMAND) $(BOOST_STATIC_LINKING_COMMAND) $(BOOST_REALPATHS_COMMAND) $(PARALLEL_OUTPUT_COMMAND) $(RUNTIME_PROFILING_COMMAND) $(SCOREP_COMMAND) $(SUNDIALS_LAPACK_COMMAND) -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX:PATH="$(OMBUILDDIR)" -DLIBINSTALLEXT=lib/@host_short@/omc/cpp $(CMAKE_ARGS) ../
5152
$(MAKE) -C Build VERBOSE=1
5253

@@ -55,7 +56,6 @@ install: runtimeCpp
5556

5657
clean:
5758
rm -R -f Build
58-
mkdir Build
5959

6060
Makefile: Makefile.in
6161
cd @top_builddir@ && ./config.status

SimulationRuntime/cpp/Makefile.omdev.mingw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ else ifeq ("$(BUILD_DOCUMENTATION)","true")
2525
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=$(BUILDTYPE) -DBUILD_DOCUMENTATION=ON -D CMAKE_INSTALL_PREFIX:PATH="$(OMBUILDDIR)" MAKE_CXX_COMPILER=g++ ../; \
2626
make;
2727
else
28+
mkdir -p Build
2829
cd ./Build; echo "change to Build"; \
2930
$(CMAKE) -G "MSYS Makefiles" -D CMAKE_BUILD_TYPE=$(BUILDTYPE) -D CMAKE_INSTALL_PREFIX:PATH="$(OMBUILDDIR)" MAKE_CXX_COMPILER=g++ ../; \
3031
make;
@@ -84,4 +85,3 @@ install: runtimeCpp
8485

8586
clean:
8687
rm -R -f Build
87-
mkdir Build

0 commit comments

Comments
 (0)