-
Notifications
You must be signed in to change notification settings - Fork 43
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
Use premake to build Win32/Win64 #139
Comments
Please explain me how to build rive-cpp under windows! Is it possible to do it with the cmake? |
Hi @lvdpower ! I haven't tested it, but you should be able to generate cmake files with The problem I have with generating a set of build system files, is that the premake config script doesn't take the different settings into account (win32 + win64, static linkage). |
@lvdpower This is how I did it: To actually get it to compile you need to do two things:
Then you can compile. |
@projectitis |
So far I've only been able to configure a 32+64 bit library build using the visual studio solution.
That is also generating only Win32, so you have to clone the config, create a x64 config.
Lastly, you also have to change the dynamic linkage to static.
I think it would be beneficial if it would be possible to use the platform/arch with the build script, e.g.:
build.sh release Win32
/build.sh release Win64
The text was updated successfully, but these errors were encountered: