mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-06 09:37:55 +00:00
Add inspecting tool and fix CI cache generation
This commit is contained in:
@@ -20,6 +20,20 @@ if (SLIC3R_ENC_CHECK)
|
||||
)
|
||||
endif()
|
||||
|
||||
if (ORCA_TOOLS)
|
||||
set(_DEV_DEFS -DBOOST_ALL_NO_LIB -DBOOST_USE_WINAPI_VERSION=0x602 -DBOOST_SYSTEM_USE_UTF8)
|
||||
|
||||
# generate_system_cache: pre-generates resources/profiles/system_presets_cache.cache for CI bundling.
|
||||
add_executable(generate_system_cache generate_system_cache.cpp)
|
||||
target_link_libraries(generate_system_cache libslic3r boost_headeronly)
|
||||
target_compile_definitions(generate_system_cache PRIVATE ${_DEV_DEFS})
|
||||
|
||||
# inspect_system_cache: dumps contents of a .cache file for debugging.
|
||||
add_executable(inspect_system_cache inspect_system_cache.cpp)
|
||||
target_link_libraries(inspect_system_cache libslic3r boost_headeronly)
|
||||
target_compile_definitions(inspect_system_cache PRIVATE ${_DEV_DEFS})
|
||||
endif()
|
||||
|
||||
# Function that adds source file encoding check to a target
|
||||
# using the above encoding-check binary
|
||||
|
||||
|
||||
Reference in New Issue
Block a user