Add vcpkg manifest#57
Conversation
|
compiling: to CMakeList.txt for VS22 compilation in the pr your vcpkg manifest is a good addition, I just like to ask if it's not preferred to just have the line |
|
I agree. I'll remove my changes to cmakelist and refer to your pr there |
This works but the log console of Nuked-SC55 (if anyone needs it) no longer starts. The problem is that if set to (unless you set the linker flag Also there are some warnings: |
|
When I get home this evening, I'll remove the cmake change. That probably needs to be made in a separate PR by setting |
Allows for easy installation of SDL2 using MSVC
|
Ok, cmake change removed. |
|
Why are you using the vcpkg-ce-catalog? SDL2 is in the main vcpkg repo. |
|
Hi, this is the default configuration when invoking |
Adds a vcpkg manifest to easily install SDL2 when compiling in a MSVC environment.
To build for MSVC, open the "x64 Native Tools Command Prompt for VS 2022" and use the following:
You can then copy
.\back.data,.\Release\nuked-sc55.exe.\Release\SDL2.dllto a folder with the SC55 ROM's.This assumes you are using a newish version of VS 2022 with integrated vcpkg. You can also use it with the standalone release of vcpkg as well.
I had to addWIN32toadd_executablein CMakeLists.txt so it would link againstWinMain. If there are any cmake experts out there, please let me know if this needs to be changed. I tested it under MSYS2 as well, and it compiled fine.