1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

CMake: Add option for a syntax-only build

This commit is contained in:
Vojtech Kral
2018-11-20 22:59:56 +01:00
parent 18f14482d0
commit 4cb5c2a21b
3 changed files with 20 additions and 2 deletions
+3 -1
View File
@@ -126,4 +126,6 @@ add_library(libslic3r_gui STATIC
)
target_link_libraries(libslic3r_gui libslic3r avrdude)
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
if (NOT SLIC3R_SYNTAXONLY)
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
endif ()