diff options
-rw-r--r-- | Tests/CMakeLists.txt | 10 | ||||
-rw-r--r-- | Tests/Visibility/CMakeLists.txt (renamed from Tests/VisibilityInlinesHidden/CMakeLists.txt) | 5 | ||||
-rw-r--r-- | Tests/Visibility/bar.c (renamed from Tests/VisibilityInlinesHidden/bar.c) | 0 | ||||
-rw-r--r-- | Tests/Visibility/foo.cpp (renamed from Tests/VisibilityInlinesHidden/foo.cpp) | 0 | ||||
-rw-r--r-- | Tests/Visibility/verify.cmake (renamed from Tests/VisibilityInlinesHidden/verify.cmake) | 0 |
5 files changed, 7 insertions, 8 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 1f93675..8865063 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -484,16 +484,16 @@ if(BUILD_TESTING) endif() if(run_inlines_hidden_test) - add_test(VisibilityInlinesHidden ${CMAKE_CTEST_COMMAND} + add_test(Visibility ${CMAKE_CTEST_COMMAND} --build-and-test - "${CMake_SOURCE_DIR}/Tests/VisibilityInlinesHidden" - "${CMake_BINARY_DIR}/Tests/VisibilityInlinesHidden" + "${CMake_SOURCE_DIR}/Tests/Visibility" + "${CMake_BINARY_DIR}/Tests/Visibility" ${build_generator_args} - --build-project VisibilityInlinesHidden + --build-project Visibility --build-options ${build_options} ) list(APPEND TEST_BUILD_DIRS - "${CMake_BINARY_DIR}/Tests/VisibilityInlinesHidden" + "${CMake_BINARY_DIR}/Tests/Visibility" ) endif() diff --git a/Tests/VisibilityInlinesHidden/CMakeLists.txt b/Tests/Visibility/CMakeLists.txt index 8ebc39c..df75630 100644 --- a/Tests/VisibilityInlinesHidden/CMakeLists.txt +++ b/Tests/Visibility/CMakeLists.txt @@ -1,6 +1,5 @@ -cmake_minimum_required(VERSION 2.8) - -project(VisibilityInlinesHidden) +cmake_minimum_required(VERSION 3.2) +project(Visibility) add_library(inlines_hidden SHARED foo.cpp bar.c) set_property(TARGET inlines_hidden PROPERTY VISIBILITY_INLINES_HIDDEN ON) diff --git a/Tests/VisibilityInlinesHidden/bar.c b/Tests/Visibility/bar.c index e425999..e425999 100644 --- a/Tests/VisibilityInlinesHidden/bar.c +++ b/Tests/Visibility/bar.c diff --git a/Tests/VisibilityInlinesHidden/foo.cpp b/Tests/Visibility/foo.cpp index 2b66b69..2b66b69 100644 --- a/Tests/VisibilityInlinesHidden/foo.cpp +++ b/Tests/Visibility/foo.cpp diff --git a/Tests/VisibilityInlinesHidden/verify.cmake b/Tests/Visibility/verify.cmake index 80dd13c..80dd13c 100644 --- a/Tests/VisibilityInlinesHidden/verify.cmake +++ b/Tests/Visibility/verify.cmake |