Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Commit

Permalink
Add an option to enable Cura's debug mode
Browse files Browse the repository at this point in the history
It was added at the end of 2.4 but we did not expose it so far

Contributes to CURA-2787
  • Loading branch information
awhiemstra committed Feb 13, 2017
1 parent 5a6ce23 commit 79ac548
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion projects/Cura.cmake
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
option(CURA_ENABLE_DEBUGMODE "Enable crash handler and other debug options in Cura" OFF)

ExternalProject_Add(Cura
GIT_REPOSITORY https://github.com/ultimaker/Cura
GIT_TAG origin/${TAG_OR_BRANCH}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNALPROJECT_INSTALL_PREFIX} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DURANIUM_SCRIPTS_DIR= -DCURA_VERSION=${CURA_VERSION}
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${EXTERNALPROJECT_INSTALL_PREFIX} -DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH} -DURANIUM_SCRIPTS_DIR= -DCURA_VERSION=${CURA_VERSION} -DCURA_DEBUG=${CURA_ENABLE_DEBUGMODE}
)

SetProjectDependencies(TARGET Cura DEPENDS Uranium CuraEngine)

1 comment on commit 79ac548

@Appesteijn
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.