Add a Nix flake (#2097)

Adds a Nix flake, allowing easy building and running of melonDS using the Nix package manager, as well as potentially very stable and reproducible CI in the future.
This commit is contained in:
Nadia Holmquist Pedersen
2024-08-08 05:36:06 +02:00
committed by GitHub
parent 53c58bd777
commit ec71b15505
3 changed files with 135 additions and 0 deletions

View File

@ -240,6 +240,8 @@ if (UNIX AND NOT APPLE)
INTERPROCEDURAL_OPTIMIZATION OFF
INTERPROCEDURAL_OPTIMIZATION_RELEASE OFF)
endif()
elseif(APPLE)
install(TARGETS melonDS BUNDLE DESTINATION "${CMAKE_INSTALL_PREFIX}/Applications")
endif()
if (ENABLE_OGLRENDERER)