mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 23:37:49 +08:00
a4a18fc433
* [duilib] add new port * support for static * Update version string to date; Translate description
18 lines
895 B
CMake
18 lines
895 B
CMake
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} Root_src)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Control Control_src)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Core Core_src)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Layout Layout_src)
|
|
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/Utils Utils_src)
|
|
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR})
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Control)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Core)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Layout)
|
|
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/Utils)
|
|
|
|
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
|
|
add_library(duilib STATIC ${Control_src} ${Core_src} ${Layout_src} ${Utils_src} ${Root_src})
|
|
|
|
add_definitions(-DUILIB_EXPORTS)
|
|
target_link_libraries(duilib comctl32)
|
|
set_target_properties(duilib PROPERTIES OUTPUT_NAME "duilib") |