mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-25 01:31:14 -06:00
fixing symlinks
This commit is contained in:
parent
ae0e576c32
commit
8622437c12
1 changed files with 6 additions and 4 deletions
|
|
@ -212,9 +212,10 @@ if (WIN32)
|
||||||
else ()
|
else ()
|
||||||
if (XCODE)
|
if (XCODE)
|
||||||
add_custom_command(TARGET PrusaSlicer POST_BUILD
|
add_custom_command(TARGET PrusaSlicer POST_BUILD
|
||||||
COMMAND ln -sf "${CMAKE_CURRENT_BINARY_DIR}/PrusaSlicer" "${CMAKE_CURRENT_BINARY_DIR}/prusa-slicer"
|
COMMAND ln -sf PrusaSlicer prusa-slicer
|
||||||
COMMAND ln -sf "${CMAKE_CURRENT_BINARY_DIR}/PrusaSlicer" "${CMAKE_CURRENT_BINARY_DIR}/prusa-gcodeviewer"
|
COMMAND ln -sf PrusaSlicer prusa-gcodeviewer
|
||||||
COMMAND ln -sf "${CMAKE_CURRENT_BINARY_DIR}/PrusaSlicer" "${CMAKE_CURRENT_BINARY_DIR}/PrusaGCodeViewer"
|
COMMAND ln -sf PrusaSlicer PrusaGCodeViewer
|
||||||
|
WORKING_DIRECTORY "$<TARGET_FILE_DIR:PrusaSlicer>"
|
||||||
COMMENT "Symlinking the G-code viewer to PrusaSlicer, symlinking to prusa-slicer and prusa-gcodeviewer"
|
COMMENT "Symlinking the G-code viewer to PrusaSlicer, symlinking to prusa-slicer and prusa-gcodeviewer"
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
|
|
@ -222,7 +223,8 @@ else ()
|
||||||
set(BIN_RESOURCES_DIR "${CMAKE_CURRENT_BINARY_DIR}/resources")
|
set(BIN_RESOURCES_DIR "${CMAKE_CURRENT_BINARY_DIR}/resources")
|
||||||
else ()
|
else ()
|
||||||
add_custom_command(TARGET PrusaSlicer POST_BUILD
|
add_custom_command(TARGET PrusaSlicer POST_BUILD
|
||||||
COMMAND ln -sf "${CMAKE_CURRENT_BINARY_DIR}/prusa-slicer" "${CMAKE_CURRENT_BINARY_DIR}/prusa-gcodeviewer"
|
COMMAND ln -sf prusa-slicer prusa-gcodeviewer
|
||||||
|
WORKING_DIRECTORY "$<TARGET_FILE_DIR:PrusaSlicer>"
|
||||||
COMMENT "Symlinking the G-code viewer to PrusaSlicer"
|
COMMENT "Symlinking the G-code viewer to PrusaSlicer"
|
||||||
VERBATIM
|
VERBATIM
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue