diff options
author | Julian T <julian@jtle.dk> | 2021-01-24 18:13:44 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-24 18:22:11 +0100 |
commit | 41ea2d8f94043d49fc26aaaa8030a73dcfdc2da9 (patch) | |
tree | fcc07052425c65b38c1724f4fc30299a1cb48716 /CMakeLists.txt | |
parent | a38e6014ea5441e9d29fcb3b5607cd94e4061cff (diff) |
Create rust project
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index df9bd70..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,32 +0,0 @@ -cmake_minimum_required(VERSION 3.10) - -project(pathtracing) - -# cmake options -set(CMAKE_EXPORT_COMPILE_COMMANDS ON) -set(CMAKE_AUTOMOC ON) - -set(CMAKE_CXX_STANDARD 11) -set(CMAKE_CXX_STANDARD_REQUIRED True) - -# Compiler options -set(CMAKE_CXX_FLAGS "-Wall -Wextra") -set(CMAKE_CXX_FLAGS_DEBUG "-g") -set(CMAKE_CXX_FLAGS_RELEASE "-O3") - -FILE(GLOB app_sources ${CMAKE_SOURCE_DIR}/app/*.cpp) -FILE(GLOB sources ${CMAKE_SOURCE_DIR}/src/*.cpp) -FILE(GLOB test_sources ${CMAKE_SOURCE_DIR}/test/*.cpp) - -add_executable(pathtracing ${sources} ${app_sources}) -target_include_directories(pathtracing PUBLIC src) - -# Catch2 unittests -add_custom_target(test) -add_executable(run_test EXCLUDE_FROM_ALL ${sources} ${test_sources}) -target_include_directories(run_test PUBLIC src) -add_dependencies(test run_test) - -# Qt -find_package(Qt5 COMPONENTS Widgets REQUIRED) -target_link_libraries(pathtracing Qt5::Widgets) |