You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
257 B
8 lines
257 B
10 years ago
|
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)
|