Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Add catch2 testing framework to project
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinung-r authored and ReedOnly committed Feb 14, 2018
1 parent 73c56bb commit 47cdad4
Show file tree
Hide file tree
Showing 6 changed files with 12,026 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ set(NEX_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/src/include)
set(NEX_LIBRARY_DIR ${CMAKE_CURRENT_BINARY_DIR}/lib)

add_subdirectory(external/pybind11)
add_subdirectory(external/catch2)
add_subdirectory(lib)
add_subdirectory(applications)
add_subdirectory(python)
7 changes: 7 additions & 0 deletions external/catch2/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
cmake_minimum_required(VERSION 2.8.12)
project(catch2 CXX)

# Dummy source file added because INTERFACE type
# library is not available in CMake 2.8.12
add_library(catch2 dummy.cpp)
target_include_directories(catch2 PUBLIC SYSTEM ${CMAKE_CURRENT_SOURCE_DIR})
Loading

0 comments on commit 47cdad4

Please sign in to comment.