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

Commit

Permalink
Merge pull request #28 from ReedOnly/catch2
Browse files Browse the repository at this point in the history
Move tests to Catch2
  • Loading branch information
ReedOnly authored Feb 19, 2018
2 parents 73c56bb + b4a3808 commit d47a08e
Show file tree
Hide file tree
Showing 12 changed files with 12,384 additions and 388 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 d47a08e

Please sign in to comment.