Perlmint / glew-cmake

GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources
Other
234 stars 95 forks source link

What is the purpose of BUILD_MULTI_CONTEXT? #27

Closed drywolf closed 4 years ago

drywolf commented 4 years ago

As the title says I can't seem to figure out what the BUILD_SINGLE_CONTEXT/BUILD_MULTI_CONTEXT options actually do. Furthermore, the target-properties OUTPUT_NAME do overlap for those targets, so in essence there is a race condition for the build whichever target finished building last wins and will write the final lib file, and hence the build result is indeterministic if both those options are active at the same time.

@Perlmint Can you please clarify what those are for. Thanks

Perlmint commented 4 years ago

After reading this issue and some investigation, I realised those options are no longer valid. Please ignore those options. I just found there is no MX after glew 2.0 - see changelog of glew. I'll remove invalid options & build targets.

Thanks for reporting :)

drywolf commented 4 years ago

Thanks for the clarification 👍