stijnfrishert / libLSDJ

Library for working with the LSDj save file format
MIT License
93 stars 6 forks source link

Building process (instructions and suggestions: #102

Open INFU-AV opened 2 years ago

INFU-AV commented 2 years ago

Since lack of building instructions I thought of writing my own, please use it as you please and feel free to adjust!

Also, so my suggestion don't get lost, I was thinking it would be convenient for the user to place all compiled executables together in one folder, so users can easily snag them! ===== =====

Build instructions:

Make sure you got:

-CMake -LibLSDJ source code -Catch2-2.13.1 source code - https://github.com/catchorg/Catch2/releases/tag/v2.13.1

Step by step:

-Unpack LibLSDJ and Catch2 .zip packages; -Move Catch2 directory into LibLSDJ/dependency/, replacing empty directory there; -Inside /LibLSDJ directory perform these commnads: CMake . <- don't miss the dot! Make;

After performing those steps correctly you should've sucessfully compiled each LibLSDj tool - find them in their respective folders!

If you get fatal error: 'catch2/catch.hpp' file not found, then your Catch2 is too new version, which breaks the current compatibility

====== =====

defensem3ch commented 1 year ago

you can just clone the repo recursively with git clone --recursive https://github.com/stijnfrishert/libLSDJ and it will include all dependencies