testobuild/CMakeLists.txt
MassiveAtoms 5433cb1b8a te
2020-07-16 10:33:52 -03:00

23 lines
515 B
CMake

cmake_minimum_required(VERSION 3.15)
project(project LANGUAGES CXX VERSION 0.1)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CPP_COMPILER usr/bin/g++)
# 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
)