Warning, /libraries/kasync/src/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 set(kasync_SRCS 0002 future.cpp 0003 debug.cpp 0004 ) 0005 0006 set(kasync_priv_HEADERS 0007 continuations_p.h 0008 execution_p.h 0009 executor_p.h 0010 job_impl.h 0011 traits_p.h 0012 debug.h 0013 ) 0014 0015 ecm_generate_headers(kasync_HEADERS 0016 HEADER_NAMES 0017 Async 0018 Future 0019 REQUIRED_HEADERS kasync_HEADERS 0020 ) 0021 0022 0023 add_library(KAsync ${kasync_SRCS}) 0024 0025 generate_export_header(KAsync BASE_NAME kasync) 0026 0027 target_include_directories(KAsync INTERFACE "$<INSTALL_INTERFACE:${KDE_INSTALL_INCLUDEDIR}/KAsync>") 0028 target_include_directories(KAsync PUBLIC "$<BUILD_INTERFACE:${KAsync_SOURCE_DIR}/src>") 0029 0030 target_link_libraries(KAsync 0031 PUBLIC 0032 Qt5::Core 0033 ) 0034 0035 0036 set_target_properties(KAsync PROPERTIES 0037 VERSION ${KASYNC_VERSION} 0038 SOVERSION ${KASYNC_SOVERSION} 0039 EXPORT_NAME KAsync 0040 ) 0041 0042 ecm_generate_pri_file(BASE_NAME KAsync 0043 LIB_NAME KAsync 0044 FILENAME_VAR PRI_FILENAME 0045 ) 0046 0047 install(TARGETS 0048 KAsync 0049 EXPORT KAsyncTargets ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} 0050 ) 0051 0052 install(FILES 0053 ${CMAKE_CURRENT_BINARY_DIR}/kasync_export.h 0054 ${kasync_HEADERS} 0055 ${kasync_priv_HEADERS} 0056 DESTINATION ${KDE_INSTALL_INCLUDEDIR}/KAsync 0057 COMPONENT Devel 0058 ) 0059 0060 install(FILES 0061 ${PRI_FILENAME} 0062 DESTINATION ${ECM_MKSPECS_INSTALL_DIR} 0063 )