We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be40581 commit e690613Copy full SHA for e690613
2 files changed
frontend/CMakeLists.txt
@@ -1,6 +1,6 @@
1
file(GLOB hdrs "*.h")
2
file(GLOB srcs "*.cpp")
3
4
-add_library(frontend OBJECT ${hdrs} ${srcs})
+add_library(frontend ${hdrs} ${srcs})
5
target_include_directories(frontend PUBLIC .)
6
target_link_libraries(frontend PRIVATE cppcheck-core)
lib/CMakeLists.txt
@@ -70,6 +70,6 @@ if (Boost_FOUND)
70
target_include_directories(cppcheck-core-private SYSTEM PRIVATE ${Boost_INCLUDE_DIRS})
71
endif()
72
73
-# if (NOT CMAKE_DISABLE_PRECOMPILE_HEADERS)
74
-# target_precompile_headers(cppcheck-core-private PRIVATE precompiled.h)
75
-# endif()
+if (NOT CMAKE_DISABLE_PRECOMPILE_HEADERS)
+ target_precompile_headers(cppcheck-core-private PRIVATE precompiled.h)
+endif()
0 commit comments