summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VisibilityPreset/CMP0063-Common.cmake
blob: afea20b850a3ca4778ce2a0ab2d2c971e2d38484 (plain)
1
2
3
4
5
6
7
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
add_executable(myexe lib.cpp)
add_library(mystatic STATIC lib.cpp)
add_library(myshared SHARED lib.cpp)
add_library(mymodule MODULE lib.cpp)
add_library(myobject OBJECT lib.cpp)