mirror of https://github.com/bjornbytes/lovr.git
Compile as C11 instead of C99;
This commit is contained in:
parent
b132eaf889
commit
fc47bde23b
|
@ -372,7 +372,7 @@ endif()
|
|||
|
||||
|
||||
set_target_properties(lovr PROPERTIES C_VISIBILITY_PRESET ${LOVR_SYMBOL_VISIBILITY})
|
||||
set_target_properties(lovr PROPERTIES C_STANDARD 99)
|
||||
set_target_properties(lovr PROPERTIES C_STANDARD 11)
|
||||
target_include_directories(lovr PRIVATE src src/modules src/lib/stdatomic)
|
||||
target_link_libraries(lovr
|
||||
${LOVR_GLFW}
|
||||
|
|
|
@ -24,7 +24,7 @@ Features
|
|||
- **Cross-Platform** - Runs on Windows, Mac, Linux, Android, WebXR.
|
||||
- **Cross-Device** - Supports Vive/Index, Oculus Rift/Quest, Pico, Windows MR, and has a VR simulator.
|
||||
- **Beginner-friendly** - Simple VR scenes can be created in just a few lines of Lua.
|
||||
- **Fast** - Writen in C99 and scripted with LuaJIT, includes optimized single-pass stereo rendering.
|
||||
- **Fast** - Writen in C11 and scripted with LuaJIT, includes optimized single-pass stereo rendering.
|
||||
- **Asset Import** - Supports 3D models (glTF, OBJ), skeletal animation, HDR textures, cubemaps, fonts, etc.
|
||||
- **Spatialized Audio** - Audio is automatically spatialized using HRTFs.
|
||||
- **Vector Library** - Efficient first-class support for 3D vectors, quaternions, and matrices.
|
||||
|
|
|
@ -77,7 +77,7 @@ cc = 'clang'
|
|||
cxx = 'clang++'
|
||||
|
||||
cflags = {
|
||||
'-std=c99',
|
||||
'-std=c11',
|
||||
'-pedantic',
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
|
|
Loading…
Reference in New Issue