Repository navigation
beta-v2.3.2 #24
ChaseSunstrom
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
CForge Release
beta-v2.3.2Bug Fixes
CPack License File Optional
Problem: CPack always expected a LICENSE file at
${CMAKE_CURRENT_SOURCE_DIR}/LICENSE, causing build errors when no license file existed.Fix: Made the license file optional by checking if
LICENSE,LICENSE.txt, orLICENSE.mdexists before settingCPACK_RESOURCE_FILE_LICENSE. If none exist, the variable is simply not set.Clean Command Fails with FetchContent
Problem: When
fetch_content = true, thebuild/_depsdirectory contains cloned Git repositories with.gitfolders. On Windows, these have read-only pack files that causestd::filesystem::remove_allto fail with "Access is denied".Fix: Added a robust
force_remove_directory()function that:remove_allrmdir /s /qClean Command Doesn't Remove cforge.hash
Problem: The
cforge.hashfile wasn't being cleaned up.Fix: Added
cforge.hashto the list of files cleaned byclean_cmake_files().Remove Command Doesn't Handle Index Dependencies
Problem:
cforge remove <package>only checked[dependencies.git]and[dependencies.vcpkg]sections, but index dependencies (likefmt = "11.1.4") are stored in the main[dependencies]section.Fix: Added a call to also remove from the main
[dependencies]section.Files Changed
src/core/workspace.cppsrc/core/command_clean.cppsrc/core/command_remove.cppThis discussion was created from the release beta-v2.3.2.
All reactions