I can't build the gui with cmake:
cmake -S /home/daniel/cppchecksolutions/cppcheck -B /home/daniel/cppchecksolutions/cppcheck/gui/build-cppcheck-Desktop-Debug -DBUILD_CLI=OFF -DBUILD_GUI=ON -DUSE_QT6=ON
I get these error messages:
CMake Error at CMakeLists.txt:50 (add_custom_target): Error evaluating generator expression: $<TARGET_FILE:cppcheck> No target "cppcheck" CMake Error at CMakeLists.txt:53 (add_custom_target): Error evaluating generator expression: $<TARGET_FILE:cppcheck> No target "cppcheck" CMake Error at CMakeLists.txt:50 (add_custom_target): Error evaluating generator expression: $<TARGET_FILE:cppcheck> No target "cppcheck" CMake Error at CMakeLists.txt:53 (add_custom_target): Error evaluating generator expression: $<TARGET_FILE:cppcheck> No target "cppcheck"
anyway I turned on the CLI and now I can build the GUI. but I think this is a hack I'd rather avoid it.
Log in to post a comment.
I can't build the gui with cmake:
I get these error messages:
anyway I turned on the CLI and now I can build the GUI. but I think this is a hack I'd rather avoid it.
Last edit: Daniel Marjamäki 2025-07-12