From 3df50363442689c6df1a41c7e0a265d10e0fc76e Mon Sep 17 00:00:00 2001 From: Isabella Muerte <63051+slurps-mad-rips@users.noreply.github.com> Date: Sun, 6 Oct 2019 12:33:03 -0700 Subject: [PATCH] :fire: Remove commented out CMake code --- CMakeLists.txt | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 70e95ea..b95ec69 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -208,19 +208,3 @@ if (BUILD_TESTS) PRIVATE $) endif() - -#[[ - -if(BUILD_TESTS) - file(GLOB TEST_SOURCES tests/*.cpp) - file(GLOB FUZZ_SOURCES tests/fuzz_*.cpp) - list(REMOVE_ITEM TEST_SOURCES ${FUZZ_SOURCES}) - - add_executable(check ${TEST_SOURCES}) - if(BUILD_SHARED_AND_STATIC_LIBS) - target_link_libraries(check pugixml-static) - else() - target_link_libraries(check pugixml) - endif() - add_custom_command(TARGET check POST_BUILD COMMAND check WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}) -endif()]]