Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change build system to CMake #2689

Merged
merged 37 commits into from
Oct 19, 2023
Merged

Change build system to CMake #2689

merged 37 commits into from
Oct 19, 2023

Commits on Oct 18, 2023

  1. Initial CMake support

    daljit46 committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    c125246 View commit details
    Browse the repository at this point in the history
  2. Fix namespace resolution

    daljit46 committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    440d980 View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Correct define for MACOSX

    bjeurissen authored and daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    ce76672 View commit details
    Browse the repository at this point in the history
  2. Add support for Qt 6

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    8e2a728 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    25f3a6c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    06e8e4c View commit details
    Browse the repository at this point in the history
  5. Update gitignore file

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    559ffdc View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d73915 View commit details
    Browse the repository at this point in the history
  7. Stop relying on CMAKE_SOURCE_DIR

    Relying on this variable may cause issues if the project is incorporated
    in a parent project (e.g. when using the current project as a git
    submodule).
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    f2b12a2 View commit details
    Browse the repository at this point in the history
  8. Add option for STL debugging

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    8920e19 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1beb0ea View commit details
    Browse the repository at this point in the history
  10. Add more robust support for Python commands

    - Moved all Python scripts in a separate directory
    - Generate version file for Python modules
    - C++/Python commands are built in "bin" inside the build folder.
    - Copy Python scripts in installation directory
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    f49f936 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    592ecad View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    ce3f74b View commit details
    Browse the repository at this point in the history
  13. Fix commands and ctest execution on MSYS2

    On Windows, we need the dlls to be present in the same directory as the command executables.
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    3779176 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    407c556 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0eb1c59 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    67dc1d8 View commit details
    Browse the repository at this point in the history
  17. Add CMake presets

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    4fd0877 View commit details
    Browse the repository at this point in the history
  18. Add --output-on-failure flag to ctest by default

    Users shouldn't have to worry about this/
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    6b0cbd9 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2e8384f View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    a6f4cec View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    14fff14 View commit details
    Browse the repository at this point in the history
  22. Add Github files as a custom target

    This is useful for IDEs
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    98e3460 View commit details
    Browse the repository at this point in the history
  23. Disable testing by default

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    a68313e View commit details
    Browse the repository at this point in the history
  24. Remove unused file

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    8966387 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    477658b View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    fdd61dc View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    09be2d2 View commit details
    Browse the repository at this point in the history
  28. Handle QFileOpenEvent using custom event handler in mrview

    Previously, mrview required special handling of QFileOpenEvent and thus bool QApplication::event(QEvent*) was defined mrview.cpp. This strategy is no longer possible since now the code in src is built as a shared library, which requires the function to be defined in the shared library. To get around this we instead rely on a custom event handler using std::function.
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    6417a52 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    8e5a22a View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0568d78 View commit details
    Browse the repository at this point in the history
  31. Fix generation of documentation script

    Since commands are no longer built in source_dir/bin, we now need to specify the build directory in generate_user_docs.sh
    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    f0b3542 View commit details
    Browse the repository at this point in the history
  32. Support compiling on FreeBSD

    bjeurissen authored and daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    57beff3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    fe8ed00 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    dfdf77e View commit details
    Browse the repository at this point in the history
  35. Update install instructions

    daljit46 committed Oct 19, 2023
    Configuration menu
    Copy the full SHA
    617a04a View commit details
    Browse the repository at this point in the history