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

Update readme.md #21

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ To build just the dependencies for 64 bit x86 using Visual Studio 2019:

$ git clone https://github.com/love2d/megasource megasource
$ cd megasource
$ cmake -G "Visual Studio 16 2019" -A x64 -H. -Bbuild
$ cmake -G "Visual Studio 16 2019" -A x64 -S. -Bbuild
$ cmake --build build --target megatest --config Release

... or you can open the solution file in Visual Studio and build from there instead of invoking cmake --build.
Expand All @@ -34,14 +34,12 @@ To build for a different version of Visual Studio (or a different build tool), r

Similarly, to build for a different architecture than 64 bit x86, use a different [architecture name][architectures] for the ```-A``` parameter.

Note that ```-H``` has been replaced in CMake 3.13 with ```-S```.

If you want to build [LÖVE][love2d], clone LÖVE into the *libs* folder. Megasource will automatically look for it there. E.g.:

$ git clone https://github.com/love2d/megasource megasource
$ cd megasource
$ git clone https://github.com/love2d/love libs/love
$ cmake -G "Visual Studio 16 2019" -A x64 -H. -Bbuild
$ cmake -G "Visual Studio 16 2019" -A x64 -S. -Bbuild
$ cmake --build build --target love/love --config Release

The binaries can be found in *build/love/Release*.
Expand Down