Skip to content

Conversation

@djdv
Copy link

@djdv djdv commented May 6, 2023

I was experiencing #144 and managed to generate working build files (via cmake -B build . -DCMAKE_TOOLCHAIN_FILE=.\vcpkg\scripts\buildsystems\vcpkg.cmake -DCMAKE_BUILD_TYPE=Release) after making these changes.

I'm using a preview version of Visual Studio 2022, which emits some warnings when calling cmake --build build --target nvui --config Release, however, they all seem to be related to visual studio libraries, not code within nvui itself.
If I modify CMakeLists.txt to not treat warnings as errors the binary builds and runs as expected.

It's likely these warnings are not present in stable versions of VS, but I haven't checked.
I also didn't check any other combination of generators, compilers, nor platforms. So it would be good if someone could verify this doesn't break other combinations. (unless the CI picks this up and decides it's okay, then it's probably safe enough)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant