-
Notifications
You must be signed in to change notification settings - Fork 26
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
[WIP] CMake rework #2
base: master
Are you sure you want to change the base?
Conversation
Are you still considering this WIP?
|
Hm... Did you test it under Linux? |
Cmake changes do not seem to work on Linux. I have not had the resources to test the DLL exports yet, those would be nice to get merged at some point. I guess the cmake side is working sufficiently enough right now so that there is no urgent need to merge this. |
I applied these changes here to my own branch, and fixed the missing dependency for the shader header. The header file was not being regenerated after the glsl files had changed. Setup is now building nicely on Linux and macOS. However, I did not manage to get it work on Windows. It is probably due to the dll-build, as it seems to die when it does the first call to gl-functions from msdfgl.dll. calls directly from the msdfgldemo.exe seemed ok. My Windows-knowledge is rather weak... @mattparks did you get the new buildsystem to work on Windows? |
This is a rewrite of the CMake build system, it makes many improvements to the build structure of this project:
gen-shaders.bat
/gen-shaders.sh
, replaced with a proper CMake scriptBUILD_SHARED_LIBS
)BUILD_MSDFGL_EXAMPLE