Skip to content

Modernize CMake and make minimal cpp version c++17#56

Merged
stribor14 merged 1 commit intodevel-v040from
v040-cmake-cpp17
Oct 7, 2025
Merged

Modernize CMake and make minimal cpp version c++17#56
stribor14 merged 1 commit intodevel-v040from
v040-cmake-cpp17

Conversation

@stribor14
Copy link
Copy Markdown
Collaborator

@stribor14 stribor14 commented Oct 5, 2025

  • Use target_compile_features(cxx_std_17) instead of CMAKE_CXX_STANDARD
  • Add target_link_libraries with Eigen3::Eigen
  • Modernize target properties with multi-line format
  • Add bezier::bezier alias for better CMake integration
  • Set POSITION_INDEPENDENT_CODE ON
  • Add -O3 -DNDEBUG optimization flags
  • Fix include path to use CMAKE_CURRENT_SOURCE_DIR
  • Remove __cpp_lib_make_unique polyfill (std::make_unique native in C++17)
  • Remove __cpp_init_captures macro (lambda init captures native in C++17)
  • Remove __cpp_structured_bindings macro (structured bindings native in C++17)
  • Remove unused PolyLine class declaration
  • Remove unnecessary #include from declarations.h"

Close #39

@stribor14 stribor14 requested a review from tiborbs1 October 5, 2025 14:17
@stribor14 stribor14 self-assigned this Oct 5, 2025
@stribor14 stribor14 merged commit f5cbffb into devel-v040 Oct 7, 2025
1 check passed
@stribor14 stribor14 deleted the v040-cmake-cpp17 branch October 7, 2025 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants