mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-19 14:51:11 -06:00
CMake: Add option for a syntax-only build
This commit is contained in:
parent
18f14482d0
commit
4cb5c2a21b
3 changed files with 20 additions and 2 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue