Skip to content

Conversation

ezequias2d
Copy link

Heya guys!

This PR provides a update to the CMake build system. My goal was to fix the compilation on Linux (tested on Fedora).

Here is a summary of the main changes:

Key Improvements

  • Modernized CMake: Bumped minimum version to 3.20 and set C++23 / C17 standards globally.
  • Platform/CPU Detection: This adds proper preprocessor definitions (e.g., LINUX, AMD64).
  • Dependency Management:
    • Add libcds and re2 libraries into the build.
    • Added USE_SYSTEM_BOOST and USE_SYSTEM_RE2 options to allow choosing between embedded and system-wide libraries.
  • Build Process Cleanup:
    • Removed the commands for generating msg.fdb.
    • Removed obsolete build targets (codes) and references to deleted source files.
  • Source File Synchronization:
    • Added new source files to CMakeLists.txt that were missing (e.g., in jrd, remote).
    • Removed references to files that no longer exist.

After these changes, I was able to get a successful compilation on Fedora. This is my first contribution, and I'm happy to make any adjustments needed.

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