mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 11:35:11 +00:00
d83849792b
This adds the GLFW_LIBRARY_TYPE CMake cache variable, which allows users and higher-level projects to set what type of library GLFW is built as. When not empty, this value overrides the standard BUILD_SHARED_LIBS option for GLFW while still allowing it to control the type of other libraries in a larger project. This also allows building GLFW as an object library without adding dummy source files (as required by Xcode) or producing unused library binaries. Projects using CMake 3.12 or later can link the resulting GLFW object library normally using target_link_libraries. Fixes #279. Related to #1307. Closes #1497. Closes #1574. Closes #1928. |
||
---|---|---|
.. | ||
build.dox | ||
CMakeLists.txt | ||
CODEOWNERS | ||
compat.dox | ||
compile.dox | ||
context.dox | ||
CONTRIBUTING.md | ||
Doxyfile.in | ||
DoxygenLayout.xml | ||
extra.css | ||
extra.css.map | ||
extra.scss | ||
footer.html | ||
header.html | ||
input.dox | ||
internal.dox | ||
intro.dox | ||
main.dox | ||
monitor.dox | ||
moving.dox | ||
news.dox | ||
quick.dox | ||
spaces.svg | ||
SUPPORT.md | ||
vulkan.dox | ||
window.dox |