Skip to content
Snippets Groups Projects
Commit 9396770d authored by Lars Bilke's avatar Lars Bilke
Browse files

Moved some stuff to scripts/cmake/ProjectSetup.cmake

parent ab3542a1
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ project( OGS-6 ) ...@@ -12,6 +12,7 @@ project( OGS-6 )
INCLUDE(scripts/cmake/CMakeSetup.cmake) INCLUDE(scripts/cmake/CMakeSetup.cmake)
INCLUDE(scripts/cmake/CompilerSetup.cmake) INCLUDE(scripts/cmake/CompilerSetup.cmake)
INCLUDE(scripts/cmake/Find.cmake) INCLUDE(scripts/cmake/Find.cmake)
INCLUDE(scripts/cmake/ProjectSetup.cmake)
############### ###############
### Options ### ### Options ###
...@@ -22,9 +23,9 @@ IF((CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) AND GPROF_PATH) ...@@ -22,9 +23,9 @@ IF((CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_GNUCC) AND GPROF_PATH)
OPTION(OGS_PROFILE "Enables compiling with flags set for profiling with gprof." OFF) OPTION(OGS_PROFILE "Enables compiling with flags set for profiling with gprof." OFF)
ENDIF() # GCC AND GPROF_PATH ENDIF() # GCC AND GPROF_PATH
# Set build directories ######################
SET( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin ) ### Subdirectories ###
SET( LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib ) ######################
# Add subdirectories with the projects # Add subdirectories with the projects
ADD_SUBDIRECTORY( Base ) ADD_SUBDIRECTORY( Base )
......
# Set build directories
SET( EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin )
SET( LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib )
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment