2013-02-07 22:35:00 +04:00
|
|
|
|
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
|
|
|
set(CMAKE_AUTOMOC ON)
|
2013-03-20 00:40:06 +04:00
|
|
|
set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
|
2013-02-07 22:35:00 +04:00
|
|
|
|
|
|
|
add_library(libB SHARED libB.cpp)
|
|
|
|
generate_export_header(libB)
|
|
|
|
|
|
|
|
# set_property(TARGET libB APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} )
|
|
|
|
target_link_libraries(libB LINK_PUBLIC libA)
|