Releases: tsayukov/flexible-cmake-modules
Releases · tsayukov/flexible-cmake-modules
Release list
v0.3.0
Changelog:
- Improved installation. The
add_project_*commands takes theEXCLUDE_FROM_INSTALLATIONoption to exclude the project target from installation, if${NAMESPACE}_ENABLE_INSTALLis not already turn off. Otherwise, each project target is added to the${PROJECT_SOURCE_DIR}directory property, which is used in theinstall_project_targetscommand. - Added a new parameter
RECURSIVEto theno_in_source_builds_guardcommand. - Added a new command
get_project_target_nameto resolve a target's name. - Added memory checking support (use
valgrind). - Renamed the
enable_if_project_variable_is_setcommand toenable_if. It can also able to resolve a variable's name as well as theget_project_target_namedoes. - Removed the
${lang}_standard_guardcommand and improved theuse_${lang}_standard_at_leastcommand. - Added support for shared libraries (a new
generate_project_export_headercommand, setSOVERSIONandVERSIONproperties, support of rpath changing). - Added getter/setter for the project root directory's properties.
- Made
Common.cmakedivide to separate modules.
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Changelog:
- Removed short aliases for project targets due to a bug. Instead of that feature, added
project_target_*commands, that are,target_*command's counterparts, which can take${namespace}::<target_suffix>as well as the short names of project targets and regular targets (in this precedence). Theinstall_project_targetscommand works the similar way now. - Removed
cxx_*_optionstargets, which include corresponding compile options, due to invalid behavior. Now useCXX_OPTIONSvariable and a family ofCXX_*_OPTIONSvariables instead. Note thatCXX_ERROR_OPTIONSis not a part ofCXX_OPTIONSanymore. Include it manually. - Install component can be used in CMake presets now. See a new
add_component_targetcommand for details. - Added Python virtual environment support. See
PythonVenvmodule for details. - Added google benchmark tools support. See
Benchmarkingmodule for details. CMAKE_EXPORT_COMPILE_COMMANDSis turned on in the developer mode now. Also a symlink tocompile_commands.jsonis created inbuilddirectory, if there's no any.- Added a new
requires_cmakecommand. - Improved some documentation.
Full Changelog: v0.1.0...v0.2.0