Tags: orbital-transfer-survey/CPM.cmake
Tags
Respect `FETCHCONTENT_BASE_DIR` if set by a user (cpm-cmake#244) * Respect `FETCHCONTENT_BASE_DIR` if set by a user * Use a single `CPM_FETCHCONTENT_BASE_DIR` var
Fix support for source subdirectories (cpm-cmake#238) * add support for source subdirectories * style fixes * remove debug log * grammar fix in comment
Infer package name and version from URL (cpm-cmake#220) * Function to extract name and version from url. Some tests * Rewrite. Previous version was not safe enough. More tests * Allow underscore as a name-version separator (<name>_<ver>) * CPMAddPackage can infer name and version from url * Allow URL parse from single arg and uncomment tests * Info about shorthand syntax in README * Fix style * Fixed typo Co-authored-by: Lars Melchior <[email protected]> * Explicit hash algorithm in shorthand URL example. Also added tests which include a hash algorithm provided We can't document a default until it's confirmed here: https://gitlab.kitware.com/cmake/cmake/-/issues/21859 Co-authored-by: Lars Melchior <[email protected]>
Single-argument shorthand syntax for CPMAddPackage (cpm-cmake#207) * Added quotes in equality checks so lists can be compared * Function to parse argument of CPMAddPackage in case a single one was provided * Error on URL type in CPMAddPackage single-arg * Fixed format * Support single argument syntax of CPMAddPackage * Documenting and showcasing the new shorthand syntax of CPMAddPackage * Auto EXCLUDE_FROM_ALL for the shorthand syntax * Fixed accidental paste of TOLOWER * Document why some test cases are commented out Co-authored-by: Lars Melchior <[email protected]> * Update README.md Co-authored-by: Lars Melchior <[email protected]> * Removed GitHub as the default package shorthand provider Co-authored-by: Lars Melchior <[email protected]>
If a name isn't provided, try to infer it from the git repo (cpm-cmak… …e#202) * Added assert_not_defined check * Function to get package name form git uri and tests * Autofix format * If name is not provided, try to infer it from the git repo * Unset result of cpm_package_name_from_git_uri if there is no match - Also reordered tests to ensure that the result is actually unset when needed * Removed trailing spaces in README * Updated the main example with the new minimal syntax * Well... autofix format again * Update error message for missing name to reflect the possible auto-infer step * Autofix format... yet again :)
Add dependencies using EXCLUDE_FROM_ALL flag (cpm-cmake#198) * add dependencies using EXCLUDE_FROM_ALL flag * respect DOWNLOAD_ONLY flag * set EXCLUDE_FROM_ALL as an optional flag * use one value arg for consistency * fix argument passing * add unit test * update cmake-format
Update URLs for new CPM.cmake organisation (cpm-cmake#194) * update URLs for new CPM.cmake organisation * trigger travis
PreviousNext