raylib/cmake
Lázaro Albuquerque 307c998495
[build] Making `config.h` fully available to CMake users (#4044)
* Create ParseConfigHeader.cmake

This script parses the config.h file to automate the process of exposing the configuration flags and configuration values found in the latter.

* Update CompileDefinitions.cmake

Makes use of the new functionality found in ParseConfigHeader.cmake to make things consistent.

* Update CMakeOptions.txt

Makes use of the new functionality found in ParseConfigHeader.cmake to make things consistent.

* Update CMakeLists.txt

Changes required to make possible building raylib for web on Windows 10.

* Update LibraryConfigurations.cmake

Removes a warning that linker-only flags were being passed to the compiler, which is in accordance to https://emscripten.org/docs/tools_reference/settings_reference.html.

* Update CMakeOptions.txt

Removed clutter.

* Update CompileDefinitions.cmake

Removed clutter.

* Update CompileDefinitions.cmake

Some applications might check for PLATFORM_WEB instead of __EMSCRIPTEN__.

* Update CompileDefinitions.cmake

Reverting

* Update CMakeLists.txt

USE_AUDIO is redundant in the presence of the already existent and more descriptive SUPPORT_MODULE_RAUDIO.

* Update CompileDefinitions.cmake

USE_AUDIO is redundant in the presence of the already existent and more descriptive SUPPORT_MODULE_RAUDIO.

* Update ParseConfigHeader.cmake

* Revert "Update CMakeLists.txt"

This reverts commit 1785fc06b5.

* Revert "Update CompileDefinitions.cmake"

This reverts commit 62f9a3a0ea.

* Revert "Update CMakeLists.txt"

This reverts commit 3e7912144e.

* Revert "Update LibraryConfigurations.cmake"

This reverts commit bcc4310c49.
2024-06-16 10:49:59 +02:00
..
AddIfFlagCompiles.cmake CMake: Move reusable code to new cmake/ directory 2018-05-21 01:08:29 +02:00
BuildOptions.cmake Remove STATIC and SHARED variables. (#1542) 2021-01-22 00:07:22 +01:00
CompileDefinitions.cmake [build] Making `config.h` fully available to CMake users (#4044) 2024-06-16 10:49:59 +02:00
CompilerFlags.cmake Documentation cmake (#1549) 2021-01-26 14:34:27 +01:00
EnumOption.cmake CMake: Fail when -D{PLATFORM,OPENGL_VERSION}=INVALID_VALUE 2018-07-23 21:00:48 +02:00
GlfwImport.cmake CMake: Remove USE_WAYLAND option (#3851) 2024-03-04 19:59:26 +01:00
InstallConfigurations.cmake Fix CMake extraneous -lglfw (#3266) 2023-08-27 15:43:39 +02:00
JoinPaths.cmake Add join_paths and join prefix with include/lib dirs (#1383) 2020-09-25 16:20:49 +02:00
LibraryConfigurations.cmake [build] Fix some warnings on web builds and remove some redundant flags. (#4069) 2024-06-16 10:42:50 +02:00
LibraryPathToLinkerFlags.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
PackConfigurations.cmake Add packaging for distros with deb- and rpm-based packages. (#2877) 2023-01-21 18:50:38 +01:00
ParseConfigHeader.cmake [build] Making `config.h` fully available to CMake users (#4044) 2024-06-16 10:49:59 +02:00
PopulateConfigVariablesLocally.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
Uninstall.cmake [build]: add uninstall cmake target (#3511) 2023-11-06 10:12:36 +01:00
raylib-config-version.cmake CMake: Major cleanup to support find_package(raylib) 2018-07-29 12:35:35 +02:00
raylib-config.cmake add: cmake config include guard (#2592) 2022-07-26 14:28:26 +02:00