mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 14:01:21 +00:00
Tests: Rename Visibility{InlinesHidden =>}
We will soon generalize it to cover other visibility properties.
This commit is contained in:
parent
ab55b3b5fa
commit
771f1b00dc
@ -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()
|
||||
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user