Releases: aminya/project_options
v0.21.0
v0.20.0
What's Changed
- feat: support the Visual Studio IDE code analysis by @aminya in #82
- feat: make Conan quiet if cmake is not verbose by @aminya in #79
- feat: add CMakeLists.txt to support CPM by @ClausKlein in #116
- fix: warn for using cmake 3.17 or older by @aminya in #109
- test: test the minimum required cmake version by @aminya in #109
- fix: wrap all the global code in macros by @aminya in #109
- fix: add include guards by @aminya in #109
- fix: include the files to allow calling individual functions by @aminya in #109
- fix: make policy CMP0103 optional by @aminya in #109
- fix: disable INTERPROCEDURAL_OPTIMIZATION for old cmake by @aminya in #109
- fix: use the project_name for the default export destination by @aminya in #110
- test: add spell checking test by @aminya in #103
Breaking Changes
The project has been transferred to the @aminya account. You should update your CMake code to use the new URL:
# Add project_options v0.20.0
# https://github.com/aminya/project_options
# Change the version in the following URL to update the package (watch the releases of the repository for future updates)
include(FetchContent)
FetchContent_Declare(_project_options URL https://github.com/aminya/project_options/archive/refs/tags/v0.20.0.zip)
FetchContent_MakeAvailable(_project_options)
include(${_project_options_SOURCE_DIR}/Index.cmake)
Read this statement for more information about the transfer.
Full Changelog: v0.19.0...v0.20.0
v0.19.0
What's Changed
- feat: upgrade to doxygen-awesome-css v2.0.2 by @aminya in #88
- fix: use a warning if LTO is not supported + message the need for enabling lto in other projects by @aminya in #92
- fix: enable native optimization only on x64 by @aminya in #98
- fix: disable PCH if clang-tidy is used with gcc by @aminya in #91
- fix: clone vcpkg only if the directory doesn't exist by @aminya in #101
- fix: fix CMAKE_C_STANDARD variable by @aminya in 869986c
New Contributors
Full Changelog: v0.18.1...v0.19.0
v0.18.1
v0.18.0
What's Changed
- fix: make Conan optional in dynamic_project_options by @aminya in #71
- fix: accept INTERFACE_* as an alias to PUBLIC_* in package_project by @aminya in #74
- fix: install the usage file after other files by @aminya in #75
- fix: remove non-C warnings for C by @aminya in #76
- feat: add enable_native_optimizations + rename IPO option by @aminya in #83
- fix: move the options of dynamic_project_options into itself by @aminya in #80
- feat: add cppcheck for C by @aminya in #77
- feat: add clang-tidy for C by @aminya in #78
Breaking Changes
-
Conan is now optional in
dynamic_project_options()
. To enable itset(ENABLE_CONAN_DEFAULT ON)
before callingdynamic_project_options
. -
ENABLE_IPO
option is renamed toENABLE_INTERPROCEDURAL_OPTIMIZATION
. This was done for simplicity and consistency with other optimization options that use descriptive names instead of uncommon acronyms.
Full Changelog: v0.17.0...v0.18.0
v0.17.0
This release includes exciting features such as package_project
🎉. Check out the Readme examples for more info.
What's Changed
- feat: add
package_project
function by @aminya in #58 - docs: added examples adding executables, libraries, header-only libraries by @aminya in #58
- fix: set ENABLE_DEVELOPER_MODE to OFF by default + report the building mode by @aminya in #67
- fix: set Doxygen quiet based on the CMake log level by @aminya in #68
- fix: correctly check if vsinstalldir is in $path on msvc by @LtdSauce in #70
New Contributors
Full Changelog: v0.16.0...v0.17.0
v0.16.0
What's Changed
- feat: make cppcheck flags configurable by @lefticus in #63
- feat: turn off CMAKE_CXX_EXTENSIONS by default by @aminya in #65
- feat: default the C standard to the latest by @aminya in #65
- feat: set template so IDE/tooling picks up cppcheck warnings by @lefticus in #66
Full Changelog: v0.15.1...v0.16.0
v0.15.1
v0.15.0
What's Changed
- feat: add Cuda support by @aminya in #49
- fix: handle clang-tidy in clang-cl mode by @aminya in #54
- fix: Suppress errors the user cannot act on in cppcheck by @lefticus in #57
- fix: use the cmake's include install directory for target_include_system_libraries by @aminya in #56
Full Changelog: v0.14.2...v0.15.0
v0.14.2
fix: fix bootstrapping vcpkg
Full Changelog: v0.14.1...v0.14.2