-
Notifications
You must be signed in to change notification settings - Fork 73
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
cmake: set MSVC_RUNTIME_LIBRARY to MultiThreadedDLL #683
cmake: set MSVC_RUNTIME_LIBRARY to MultiThreadedDLL #683
Conversation
Will it work for more complex projects? Because then you will have other targets linking to the default, and the app & rust lib to MultiThreadedDLL. Not sure if this is how it work. |
Can we set this in all of the example CMakeLists.txt's ? I know it's slightly pointless as it should come from the root and is effectively a noop. But we see people copy the CMakeList out of the example folder and then miss that there is something set globally. So i think there should be something in each of the projects too. I'm also trying to fix my Windows setup so i can test some of this stuff myself 😅 |
Yes setting it in each example is a good idea, maybe with a warning that it would be best to set it in the command line. |
60ebf1c
to
2fadfde
Compare
2fadfde
to
46e6071
Compare
This seems to work :-) @OlivierLDff does the change look sane to you ? |
Yes this is what is required for it to work out of the box. |
Related to #682
Related to #676