Simplify usage in Final Report and move Libpack copy stuff out

Added report function to separate logic from presentation and automate layout
Removed Libpack stuff to its own cmake file CopyLibpackDirectories.cmake
Added call in main CMakeLists.txt to libpack stuff
This commit is contained in:
berniev
2023-01-28 12:56:40 +10:00
committed by Chris Hennes
parent c318bc08cb
commit 243ad94fb2
3 changed files with 151 additions and 164 deletions

View File

@@ -92,8 +92,12 @@ BuildAndInstallDesignerPlugin()
CreatePackagingTargets()
PrintFinalReport()
if(MSVC AND FREECAD_LIBPACK_USE AND LIBPACK_FOUND)
CopyLibpackDirectories()
endif()
if (BUILD_TEST)
add_subdirectory(tests)
endif()
PrintFinalReport()