summaryrefslogtreecommitdiffhomepage
path: root/cmake/CompileDefinitions.cmake
diff options
context:
space:
mode:
authorPeter0x44 <[email protected]>2022-10-20 16:29:03 +0100
committerGitHub <[email protected]>2022-10-20 17:29:03 +0200
commitb8e14a4f9987b7930c04d72f3f7c4be705edf5f8 (patch)
tree70b08bdb7f467ecd0715b17aa6b4b067057b4bea /cmake/CompileDefinitions.cmake
parent7e7939e1ad1b9576dc518e0fadbf4a3c1eb989df (diff)
downloadraylib-b8e14a4f9987b7930c04d72f3f7c4be705edf5f8.tar.gz
raylib-b8e14a4f9987b7930c04d72f3f7c4be705edf5f8.zip
Review parser Makefile (#2765)
* parser: Fail gracefully if a nonexistent file is passed on the command line Before, if a nonexistent file was passed to LoadFileText(), it would return NULL, and the parser would happily dereference it. * parser: Refactor Makefile and update the path to easings.h (now reasings.h) Before, the `make all` target would simply segfault, see 0a679d79 Now, if a file in the `make all` target doesn't exist, make will write an error. Individual API files can be generated likeso, provided the header file the target depends on exists: FORMAT=JSON EXTENSION=json make raygui_api.json In order for the `make all` target to succeed, raygui.h, physac.h and rmem.h need to be added to the correct directory.
Diffstat (limited to 'cmake/CompileDefinitions.cmake')
0 files changed, 0 insertions, 0 deletions