parent
d3a8eb1ae2
commit
ae3f7bd800
|
@ -35,6 +35,7 @@ CheckOptions:
|
|||
|
||||
add_executable(cppcheck-gui ${cppcheck-gui-deps} ${cppcheck-gui_SOURCES})
|
||||
set_target_properties(cppcheck-gui PROPERTIES AUTOMOC ON)
|
||||
set_target_properties(cppcheck-gui PROPERTIES WIN32_EXECUTABLE ON)
|
||||
target_include_directories(cppcheck-gui PRIVATE ${PROJECT_SOURCE_DIR}/lib/)
|
||||
if(USE_BUNDLED_TINYXML2)
|
||||
target_include_directories(cppcheck-gui PRIVATE ${PROJECT_SOURCE_DIR}/externals/tinyxml2/)
|
||||
|
|
|
@ -27,6 +27,7 @@ CheckOptions:
|
|||
${PROJECT_SOURCE_DIR}/gui/codeeditorstyle.cpp
|
||||
${PROJECT_SOURCE_DIR}/gui/codeeditor.cpp)
|
||||
set_target_properties(triage PROPERTIES AUTOMOC ON)
|
||||
set_target_properties(cppcheck-gui PROPERTIES WIN32_EXECUTABLE ON)
|
||||
target_include_directories(triage PRIVATE ${PROJECT_SOURCE_DIR}/lib/ ${PROJECT_SOURCE_DIR}/gui/)
|
||||
target_link_libraries(triage ${QT_CORE_LIB} ${QT_GUI_LIB} ${QT_WIDGETS_LIB})
|
||||
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
||||
|
|
Loading…
Reference in New Issue