-
Notifications
You must be signed in to change notification settings - Fork 2
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
8 changed files
with
43 additions
and
3 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
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
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,34 @@ | ||
# Start configuration | ||
cmake_minimum_required(VERSION 3.3.2 FATAL_ERROR) | ||
cmake_policy(VERSION 3.3.2) | ||
if(POLICY CMP0074) | ||
cmake_policy(SET CMP0074 NEW) | ||
endif() | ||
|
||
project(triqs_ctseg CXX) | ||
|
||
# Default to Release build type | ||
if(NOT CMAKE_BUILD_TYPE) | ||
set(CMAKE_BUILD_TYPE Release CACHE STRING "Type of build" FORCE) | ||
endif() | ||
message( STATUS "-------- BUILD-TYPE: ${CMAKE_BUILD_TYPE} --------") | ||
|
||
# Load Dependencies | ||
find_package(TRIQS REQUIRED) | ||
find_package(${PROJECT_NAME} REQUIRED) | ||
|
||
# Build googletest | ||
add_subdirectory(/usr/src/gtest gtest EXCLUDE_FROM_ALL) | ||
|
||
# Lift the relevant triqs_ctseg targets out of the triqs_ctseg namespace | ||
add_library(${PROJECT_NAME}_warnings INTERFACE) | ||
|
||
enable_testing() | ||
|
||
# The C++ Tests | ||
add_subdirectory(c++) | ||
|
||
# The Python Tests | ||
if(${TRIQS_WITH_PYTHON_SUPPORT}) | ||
add_subdirectory(python) | ||
endif() |
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 @@ | ||
../../triqs_ctseg/test/c++/ |
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 @@ | ||
../../triqs_cthyb/test/python/ |
Submodule triqs_ctseg
added at
45553d