Warning, /kdevelop/kdevelop/plugins/custom-definesandincludes/compilerprovider/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 include_directories(${CMAKE_CURRENT_BINARY_DIR}/..) 0002 0003 set( compilerprovider_SRCS 0004 compilerprovider.cpp 0005 icompiler.cpp 0006 gcclikecompiler.cpp 0007 msvccompiler.cpp 0008 compilerfactories.cpp 0009 settingsmanager.cpp 0010 widget/compilersmodel.cpp 0011 widget/compilerswidget.cpp 0012 ${kdevdefinesandincludesmanager_LOG_SRCS} 0013 ) 0014 0015 ki18n_wrap_ui(compilerprovider_SRCS 0016 widget/compilerswidget.ui 0017 ) 0018 0019 add_library(kdevcompilerprovider STATIC 0020 ${compilerprovider_SRCS}) 0021 target_link_libraries(kdevcompilerprovider 0022 PRIVATE 0023 KDev::Project 0024 KDev::Util 0025 KDev::Language 0026 ) 0027 set_target_properties(kdevcompilerprovider PROPERTIES POSITION_INDEPENDENT_CODE ON) 0028 0029 option(BUILD_kdev_msvcdefinehelper "Build the msvcdefinehelper tool for retrieving msvc standard macro definitions" OFF) 0030 0031 if(BUILD_kdev_msvcdefinehelper) 0032 set(kdevmsvcdefinehelper_SRCS msvcdefinehelper.cpp) 0033 add_executable(kdevmsvcdefinehelper ${kdevmsvcdefinehelper_SRCS}) 0034 install(TARGETS kdevmsvcdefinehelper RUNTIME DESTINATION bin 0035 LIBRARY DESTINATION lib) 0036 endif() 0037 0038 if(BUILD_TESTING) 0039 add_subdirectory(tests) 0040 endif()