11 Commits

Author SHA1 Message Date
Tom Finegan
e4e34b0c63
Draco v1.5.4 release. (#934) 2022-10-27 11:41:29 -07:00
SpaceIm
7109fbee87
cmake: Support modernized import of Draco via draco::draco
This a refactoring of the CMake config file to follow best practices:

- A draco-targets.cmake is generated with install(EXPORT ...), and included in 
  draco-config.cmake.
- For users consuming Draco with add_subdirectory(), a draco::draco alias is provided.
- Removed find-draco.cmake-- CMake couldn't use it anyway due to the file name
  not matching CMake expectations for a find script.

Note: this also removes the previous methods of hardcoding the C++ standard in
the Draco build to C++11. Instead of direct manipulation of CMAKE_CXX_STANDARD
target_compile_features() is used. External projects consuming Draco should now
be able to set the standard to a newer version.
2022-04-13 11:00:01 -07:00
Tom Finegan
9f0e5c5f15 Draco v1.4.3 2021-10-12 12:55:36 -07:00
Andreas Atteneder
a0146686a0 fix: Linking dracodec_unity macOS bundle works again (got broken via #676) 2021-02-05 12:21:05 -08:00
Tom Finegan
5ad118d7d2 draco: Support multiple link flags in older CMakes
Stringify the flag list and apply the flags in CMakes before
v3.13.
2021-02-04 15:42:34 -08:00
Quim Muntal
253059c639
Support building mingw static and dynamic at the same time (#677)
Restrict the behavior disallowing the build of both libraries to MSVC. The mingw CMake generators
handle the situation properly:

- Shared library suffix: .dll
- Import library suffix: .a.dll
- Static library suffix: .a
2021-02-04 12:13:18 -08:00
RichardTea
3ea441ec1c
Set VERSION and SOVERSION for all targets as appropriate (#676)
Set VERSION property for non-static library targets and executable targets, and set
SOVERSION for non-MSVC targets.
2021-02-03 13:57:22 -08:00
Tom Finegan
e812c9e195
Fix typo in CMake macro draco_add_executable()
$lib_NAME -> $exe_NAME.
2020-12-17 12:50:16 -08:00
Tom Finegan
2e67b39c31 Draco v1.4.1 2020-12-08 11:55:42 -08:00
Tom Finegan
dd6ef6ff02
draco: Fix empty list handling in older CMakes.
Older CMake releases don't support empty list variables with list(FILTER).
2020-12-01 14:37:24 -08:00
Tom Finegan
8a979f79a5 Draco v1.4.0 2020-12-01 13:01:33 -08:00