From 2b2aa8926f42fb751781beb55eace012c140a7d2 Mon Sep 17 00:00:00 2001 From: vitaut Date: Wed, 10 Feb 2016 07:01:40 -0800 Subject: [PATCH] add_subdirectory-test -> add-subdirectory-test for consistency --- test/CMakeLists.txt | 6 +++--- .../CMakeLists.txt | 0 .../main.cpp | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename test/{add_subdirectory-test => add-subdirectory-test}/CMakeLists.txt (100%) rename test/{add_subdirectory-test => add-subdirectory-test}/main.cpp (100%) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index b0ab19d8..89bce0c0 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -137,11 +137,11 @@ if (FMT_PEDANTIC) "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") # test if the targets are findable when add_subdirectory is used - add_test(add_subdirectory-test ${CMAKE_CTEST_COMMAND} + add_test(add-subdirectory-test ${CMAKE_CTEST_COMMAND} -C ${CMAKE_BUILD_TYPE} --build-and-test - "${CMAKE_CURRENT_SOURCE_DIR}/add_subdirectory-test" - "${CMAKE_CURRENT_BINARY_DIR}/add_subdirectory-test" + "${CMAKE_CURRENT_SOURCE_DIR}/add-subdirectory-test" + "${CMAKE_CURRENT_BINARY_DIR}/add-subdirectory-test" --build-generator ${CMAKE_GENERATOR} --build-makeprogram ${CMAKE_MAKE_PROGRAM} --build-options "-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}") diff --git a/test/add_subdirectory-test/CMakeLists.txt b/test/add-subdirectory-test/CMakeLists.txt similarity index 100% rename from test/add_subdirectory-test/CMakeLists.txt rename to test/add-subdirectory-test/CMakeLists.txt diff --git a/test/add_subdirectory-test/main.cpp b/test/add-subdirectory-test/main.cpp similarity index 100% rename from test/add_subdirectory-test/main.cpp rename to test/add-subdirectory-test/main.cpp