diff options
author | Brad King <brad.king@kitware.com> | 2015-05-22 19:24:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-05-22 19:24:18 (GMT) |
commit | 771f1b00dc1e9422e543534ca2ea823c98b3e2be (patch) | |
tree | d03ae2d748632c1029d0cedfaf99357e839b174d | |
parent | ab55b3b5faac694c28d8725e235923803fb83a8d (diff) | |
download | CMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.zip CMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.tar.gz CMake-771f1b00dc1e9422e543534ca2ea823c98b3e2be.tar.bz2 |
Tests: Rename Visibility{InlinesHidden =>}
We will soon generalize it to cover other visibility properties.
-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 |