Skip to content

Releases: TheLartians/PackageProject.cmake

v1.12.0

02 Sep 15:25
5f51898
Compare
Choose a tag to compare

What's Changed

  • make ARCH_INDEPENDENT libraries to have CMake configs installed to share by @Arniiiii in #42

New Contributors

Full Changelog: v1.11.2...v1.12.0

v1.11.2

17 Jan 07:45
2d8a468
Compare
Choose a tag to compare

What's Changed

  • Fix setting of ARCH_INDEPENDENT based on INTERFACE_LIBRARY property by @salman-javed-nz in #39

New Contributors

Full Changelog: v1.11.1...v1.11.2

v1.11.1

19 Nov 11:17
ac46aef
Compare
Choose a tag to compare

What's Changed

  • Fix potentially invalid macro name in generated version header by @jan-moeller in #38

New Contributors

Full Changelog: v1.11.0...v1.11.1

v1.11.0 - CPack Support

29 May 23:02
28f6118
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.10.0...v1.11.0

v1.10.0

19 Oct 14:27
48db482
Compare
Choose a tag to compare

What's Changed

  • Allow to install a target without INCLUDE_DESTINATION by @OlivierLDff in #33

New Contributors

Full Changelog: v1.9.0...v1.10.0

Added INCLUDE_HEADER_PATTERN option

10 Apr 13:22
1d467b7
Compare
Choose a tag to compare

Using the INCLUDE_HEADER_PATTERN it is now possible to filter installed files inside the PROJECT_INCLUDE_DIR directory.

What's Changed

Full Changelog: v1.8.0...v1.9.0

Add version component definitions

29 Jun 12:48
19ccf94
Compare
Choose a tag to compare

Using the VERSION flag with a CMake version identifier (<major>[.<minor>[.<patch>[.<tweak>]]]) will now also define macros containing integer values for the major, minor, patch and tweak components. They are accessed in C++ by appending the component name to the version macro, e.g. <uppercase package name>_VERSION_MAJOR.

Thanks to @mscofield0 for the PR!

EXPORT_HEADER

30 Mar 13:41
18beef4
Compare
Choose a tag to compare

This release adds a new feature: Export Headers!

Simply add the parameter EXPORT_HEADER, e.g. to EXPORT_HEADER "${PROJECT_NAME}/export.h", for CMake to generate an export header next to your version header file. This feature is useful for those writing a libraries that users should be able to link to both statically and dynamically.

Thanks to @ClausKlein for the implementation!

Correctness updates and ARCH_INDEPENDENT option

14 Mar 19:01
a604977
Compare
Choose a tag to compare

The project has been updated to provide a cleaner separation of components, sets the install location to a catchable variable as well as other correctness updates. An option ARCH_INDEPENDENT has been added that allows for architecture independent installations. This is enabled by default for INTERFACE libraries. See #24 for details.

Fixed version suffix option

23 Feb 12:31
7954bea
Compare
Choose a tag to compare

Fixes a bug where the flag NO_VERSION_SUFFIX couldn't be disabled. The option has now been renamed to the named parameter PROJECT_VERSION_SUFFIX .