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.
|
project(override_symbol)
|
|
|
|
add_library(somelib SHARED someclass.cpp)
|
|
|
|
set_target_properties(somelib PROPERTIES DEFINE_SYMBOL SOMELIB_MAKEDLL)
|
|
|
|
generate_export_header(somelib)
|
|
|
|
add_executable(consumer main.cpp)
|
|
|
|
target_link_libraries(consumer somelib)
|