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
285 B
8 lines
285 B
9 years ago
|
project(autoexport)
|
||
|
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS TRUE)
|
||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${autoexport_BINARY_DIR}/bin)
|
||
|
add_subdirectory(sub)
|
||
|
add_library(autoexport SHARED hello.cxx world.cxx foo.c)
|
||
|
add_executable(say say.cxx)
|
||
|
target_link_libraries(say autoexport autoexport2)
|