Cleanup and python 3.13
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -16,7 +16,7 @@ else()
|
||||
option(FREECAD_USE_CCACHE "Auto detect and use ccache during compilation" ON)
|
||||
endif()
|
||||
|
||||
-if(FREECAD_USE_CCACHE)
|
||||
+if(OFF)
|
||||
find_program(CCACHE_PROGRAM ccache) #This check should occur before project()
|
||||
if(CCACHE_PROGRAM)
|
||||
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "${CCACHE_PROGRAM}")
|
||||
@@ -0,0 +1,15 @@
|
||||
--- a/src/Tools/SubWCRev.py
|
||||
+++ b/src/Tools/SubWCRev.py
|
||||
@@ -510,12 +510,6 @@ def main():
|
||||
bindir = a
|
||||
|
||||
vcs = [
|
||||
- GitControl(),
|
||||
- DebianGitHub(),
|
||||
- BazaarControl(),
|
||||
- Subversion(),
|
||||
- MercurialControl(),
|
||||
- DebianChangelog(),
|
||||
UnknownControl(),
|
||||
]
|
||||
for i in vcs:
|
||||
@@ -0,0 +1,14 @@
|
||||
--- a/src/Tools/SubWCRev.py
|
||||
+++ b/src/Tools/SubWCRev.py
|
||||
@@ -511,11 +511,6 @@ def main():
|
||||
|
||||
vcs = [
|
||||
GitControl(),
|
||||
- DebianGitHub(),
|
||||
- BazaarControl(),
|
||||
- Subversion(),
|
||||
- MercurialControl(),
|
||||
- DebianChangelog(),
|
||||
UnknownControl(),
|
||||
]
|
||||
for i in vcs:
|
||||
@@ -0,0 +1,20 @@
|
||||
--- a/tests/src/Base/CMakeLists.txt
|
||||
+++ b/tests/src/Base/CMakeLists.txt
|
||||
@@ -11,4 +11,6 @@ target_sources(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/tst_Tools.cpp
|
||||
)
|
||||
|
||||
-setup_qt_test(InventorBuilder)
|
||||
+if(BUILD_GUI)
|
||||
+ setup_qt_test(InventorBuilder)
|
||||
+endif()
|
||||
--- a/tests/src/Gui/CMakeLists.txt
|
||||
+++ b/tests/src/Gui/CMakeLists.txt
|
||||
@@ -6,4 +6,6 @@ target_sources(
|
||||
)
|
||||
|
||||
# Qt tests
|
||||
-setup_qt_test(QuantitySpinBox)
|
||||
+if(BUILD_GUI)
|
||||
+ setup_qt_test(QuantitySpinBox)
|
||||
+endif()
|
||||
Reference in New Issue
Block a user