testobuild/CMakeLists.txt
TinyAtoms 1ba6d33557 done
2020-04-17 13:44:10 -03:00

23 lines
480 B
CMake

cmake_minimum_required(VERSION 3.15)
project(project LANGUAGES CXX VERSION 0.1)
set(CMAKE_CXX_STANDARD 17)
# Prepare "Catch" library for other executables
set(CATCH_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR})
add_library(Catch INTERFACE)
target_include_directories(Catch INTERFACE ${CATCH_INCLUDE_DIR})
add_executable(project
src/Point.h
src/shapes.h
src/main.cpp
)
add_executable(testbin
src/Point.h
src/shapes.h
external/catch2.hpp
src/test.cpp
)