From 583b590a6cf653ca353728c170283be202793edb Mon Sep 17 00:00:00 2001 From: Bert Peters Date: Mon, 18 Oct 2021 21:50:22 +0200 Subject: [PATCH] Remove last C++ remnant. --- 2019/CMakeLists.txt | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 2019/CMakeLists.txt diff --git a/2019/CMakeLists.txt b/2019/CMakeLists.txt deleted file mode 100644 index 69c855e..0000000 --- a/2019/CMakeLists.txt +++ /dev/null @@ -1,28 +0,0 @@ -cmake_minimum_required(VERSION 3.12) - -project(aoc2019) - -find_package(GTest REQUIRED) - -option(ANIMATE_DAY13 "Animate the Arkanoid game in day 13." Off) - -file(GLOB DAYS_FILES src/day*.cpp) -add_library(AoCSolutions src/implementations.cpp "${DAYS_FILES}" src/point.hpp src/utils.cpp src/utils.hpp) -target_compile_features(AoCSolutions PUBLIC cxx_std_17) - -if (ANIMATE_DAY13) - target_compile_definitions(AoCSolutions ANIMATE_DAY13) -endif () - -add_executable(runner src/runner.cpp) -target_compile_features(runner PUBLIC cxx_std_17) -target_link_libraries(runner AoCSolutions) - -add_executable(unit_tests tests/test_solutions.cpp tests/test_intcode.cpp) -target_compile_features(unit_tests PUBLIC cxx_std_17) -target_link_libraries(unit_tests AoCSolutions GTest::GTest GTest::Main) -target_compile_definitions(unit_tests PRIVATE "TEST_SAMPLES_DIR=\"${CMAKE_SOURCE_DIR}/tests/samples\"") -target_include_directories(unit_tests PRIVATE "${CMAKE_SOURCE_DIR}/src") - -enable_testing() -gtest_discover_tests(unit_tests NO_PRETTY_VALUES)