-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
1,239 additions
and
77 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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
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,18 @@ | ||
# Download and unpack Googletest Library at configure time | ||
|
||
message("Configuring googletest...") | ||
|
||
configure_file(cmake/downloadGoogletest.in | ||
googletest-download/CMakeLists.txt) | ||
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download ) | ||
execute_process(COMMAND ${CMAKE_COMMAND} --build . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/googletest-download ) | ||
|
||
# Add Googletest library directly to our build. This adds | ||
# the following targets: gtest, gmock | ||
|
||
add_subdirectory( | ||
${CMAKE_BINARY_DIR}/googletest-src | ||
${CMAKE_BINARY_DIR}/googletest-build | ||
) |
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,15 @@ | ||
cmake_minimum_required(VERSION 2.8.2) | ||
|
||
project(googletest-download NONE) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(googletest | ||
GIT_REPOSITORY "https://github.com/google/googletest.git" | ||
GIT_TAG "release-1.10.0" | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/googletest-src" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/googletest-build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) |
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,18 @@ | ||
# Download and unpack Spdlog Library at configure time | ||
|
||
message("Configuring spdlog...") | ||
|
||
configure_file(cmake/downloadSpdlog.in | ||
spdlog-download/CMakeLists.txt) | ||
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/spdlog-download ) | ||
execute_process(COMMAND ${CMAKE_COMMAND} --build . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/spdlog-download ) | ||
|
||
# Add Spdlog library directly to our build. This adds | ||
# the following targets: spdlog | ||
|
||
add_subdirectory( | ||
${CMAKE_BINARY_DIR}/spdlog-src | ||
${CMAKE_BINARY_DIR}/spdlog-build | ||
) |
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,15 @@ | ||
cmake_minimum_required(VERSION 2.8.2) | ||
|
||
project(spdlog-download NONE) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(spdlog | ||
GIT_REPOSITORY "https://github.com/gabime/spdlog.git" | ||
GIT_TAG "v1.8.2" | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/spdlog-src" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/spdlog-build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) |
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,21 @@ | ||
# Download and unpack yaml-cpp Library at configure time | ||
|
||
message("Configuring yaml-cpp...") | ||
|
||
set(YAML_CPP_BUILD_TESTS OFF CACHE BOOL "Don't build the YAML tests.") | ||
set(YAML_CPP_BUILD_CONTRIB OFF CACHE BOOL "Don't build YAML contributions.") | ||
|
||
configure_file(cmake/downloadYamlCpp.in | ||
yaml-cpp-download/CMakeLists.txt) | ||
execute_process(COMMAND ${CMAKE_COMMAND} -G "${CMAKE_GENERATOR}" . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/yaml-cpp-download ) | ||
execute_process(COMMAND ${CMAKE_COMMAND} --build . | ||
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/yaml-cpp-download ) | ||
|
||
# Add yaml-cpp library directly to our build. This adds | ||
# the following targets: yaml-cpp | ||
|
||
add_subdirectory( | ||
${CMAKE_BINARY_DIR}/yaml-cpp-src | ||
${CMAKE_BINARY_DIR}/yaml-cpp-build | ||
) |
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,15 @@ | ||
cmake_minimum_required(VERSION 2.8.2) | ||
|
||
project(yaml-cpp-download NONE) | ||
|
||
include(ExternalProject) | ||
ExternalProject_Add(yaml-cpp | ||
GIT_REPOSITORY "https://github.com/jbeder/yaml-cpp.git" | ||
GIT_TAG "yaml-cpp-0.6.3" | ||
SOURCE_DIR "${CMAKE_BINARY_DIR}/yaml-cpp-src" | ||
BINARY_DIR "${CMAKE_BINARY_DIR}/yaml-cpp-build" | ||
CONFIGURE_COMMAND "" | ||
BUILD_COMMAND "" | ||
INSTALL_COMMAND "" | ||
TEST_COMMAND "" | ||
) |
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
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,5 +1,4 @@ | ||
add_subdirectory(BaseLib) | ||
add_subdirectory(Externals) | ||
add_subdirectory(Methods) | ||
|
||
if (${BUILD_GUI}) | ||
|
This file was deleted.
Oops, something went wrong.
Submodule dualmc
deleted from
991a54
Submodule googletest
deleted from
3af06f
Submodule spdlog
deleted from
616caa
Submodule yaml-cpp
deleted from
98acc5
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
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
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,23 @@ | ||
cmake_minimum_required(VERSION 3.9) | ||
project (dualmc CXX) | ||
|
||
set ( PROJECT_FOLDER_NAME ${PROJECT_NAME}) | ||
set ( PROJECT_PATH ${PROJECT_NAME}) | ||
set ( OUTPUT_NAME "${PROJECT_FOLDER_NAME}" ) | ||
message ( "-- ++ CREATING PROJECT OR MAKEFILE ---> ${OUTPUT_NAME}" ) | ||
|
||
set(HEADER_FILES | ||
include/DualMC.h | ||
include/Tables.h | ||
include/HelperFunctions.h | ||
) | ||
|
||
set(SOURCE_FILES | ||
source/DualMC.cpp | ||
) | ||
|
||
add_library(${PROJECT_NAME} STATIC ${SOURCE_FILES} ${HEADER_FILES}) | ||
target_include_directories(${PROJECT_NAME} | ||
PUBLIC include | ||
PRIVATE source | ||
) |
Oops, something went wrong.