fachat / xa65

6502/65816 cross assembler
http://www.floodgap.com/retrotech/xa/
55 stars 8 forks source link

created advanced CMake integration #22

Open St0fF-NPL-ToM opened 4 months ago

St0fF-NPL-ToM commented 4 months ago

1.) CMake build integration -> Created CMakeLists.txt files for all the targets in src/ and misc/ -> "standard CMake building" may take place due to this 2.) CMake Module installation -> building with CMake and then installing locally (edit CMAKE_INSTALL_PREFIX !) results in a CMake Module "XA65" being installed, which can be found thru "find_package( XA65 )" in other CMake-based projects. -> uses the CMake-code in added subdir "cmake" 3.) CPack packaging - only tested on Windows using NSIS installer system -> creates a distributable installer "xa65--.exe" -> after installing, users can "find_package( XA65 )" in their projects with more ease, as - on Windows - XA65 gets installed into $ENV(ProgamFiles)