Change installation rules to match defaults of vcpkg #215

Closed
PatrickKa wants to merge 20 commits from vcpkg into master

20 Commits

Author SHA1 Message Date
Patrick Kappl 90f06d3345 Change installation rules to match defaults of vcpkg 2024-01-15 10:54:51 +01:00
Patrick Kappl 4d8624128e Add separate option for building the samples (#12) 2024-01-11 16:12:24 +01:00
Patrick Kappl 94bd40cd32 Add separate option for building the samples 2024-01-11 16:10:43 +01:00
Patrick Kappl 4ed2ee63a2 Add WIN32 to all compile definitions if on Windows (#10) 2024-01-11 15:33:45 +01:00
Patrick Kappl 358a720584 Add WIN32 to all compile definitions if on Windows 2024-01-11 15:32:22 +01:00
Patrick Kappl a93dbb4828 Make unnecessarily hard-coded flags optional (#9) 2024-01-11 15:30:34 +01:00
Patrick Kappl 2d782aee6c Make unnecessarily hard-coded flags optional 2024-01-11 14:36:25 +01:00
Patrick Kappl 79c8223655 Only build samples if project is top level 2024-01-11 14:36:25 +01:00
Patrick Kappl 600af53fae Remove debug messages from CMake code 2024-01-11 14:36:09 +01:00
Patrick Kappl 5fbe226e11 Fix include directories (#7) 2024-01-11 14:08:06 +01:00
Patrick Kappl ba603921d4 Fix include directories of samples 2024-01-11 14:04:04 +01:00
Patrick Kappl e9ded075f5 Fix include directories of library target 2024-01-11 13:35:59 +01:00
Patrick Kappl be25a25a55 Add proper CMake installation rules (#5) 2024-01-11 13:30:44 +01:00
Patrick Kappl 758113809c Change installation directories for library
I prefer putting the headers and library files not directly into the
lib or include directory, but into a package-specific subdirectory.
2024-01-11 13:29:18 +01:00
Patrick Kappl 583b2f382d Add proper installation rules for library 2024-01-11 13:29:18 +01:00
Patrick Kappl 16715218dd Add public include directories only when in build tree 2024-01-11 13:29:18 +01:00
Patrick Kappl 0a07f736e0 Add alias livox_sdk::livox_sdk for library target 2024-01-11 13:29:18 +01:00
Patrick Kappl 9ea7ca67de Remove build directory and update .gitignore 2024-01-11 13:29:17 +01:00
Patrick Kappl 2c3eb871bc Add missing #include <memory> to thread_base.h (#3) 2024-01-11 13:28:22 +01:00
Patrick Kappl 7ea3b36663 Add missing #include <memory> to thread_base.h 2024-01-11 12:57:06 +01:00