-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
progress #15, cannot rm Version.h yet
- Loading branch information
1 parent
7c36ff7
commit bcde1db
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
cmake_minimum_required(VERSION 3.10) | ||
|
||
# set the project name and version | ||
project(RangeShifter VERSION 2.1) | ||
project(RangeShifter VERSION 2.1.0) | ||
|
||
# specify the C++ standard | ||
set(CMAKE_CXX_STANDARD 17) | ||
set(CMAKE_CXX_STANDARD_REQUIRED True) | ||
|
||
# configure a header file to pass some of the CMake settings | ||
# to the source code | ||
#configure_file(TutorialConfig.h.in TutorialConfig.h) | ||
# configure a header to pass preproc/CMake variables to source code | ||
configure_file(Config.h.in Config.h) | ||
|
||
# add RScore to source search path | ||
add_subdirectory(src/RScore) | ||
|
||
# add the executable | ||
add_executable(RangeShifter src/main.cpp src/BatchMode.cpp src/Version.cpp) | ||
add_executable(RangeShifter src/main.cpp src/BatchMode.cpp) | ||
|
||
# link RScore to the executable as a library | ||
target_link_libraries(RangeShifter PUBLIC RScore) | ||
|
||
# add RScore as an include dir | ||
target_include_directories(RangeShifter PUBLIC "${PROJECT_SOURCE_DIR}/RScore") | ||
target_include_directories(RangeShifter PUBLIC "${PROJECT_BINARY_DIR}" "${PROJECT_SOURCE_DIR}/RScore") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#define RSDEBUG 1 | ||
#define LINUX_CLUSTER 1 | ||
#define RSWIN64 1 | ||
#define BATCH 1 |