Moved to raylib 4.2.0. Renamed some directory functions to raylib 4.2.0 conventions. Removed GenMeshBinormals and GetRayCollisionModel. Sound and music pan.
This commit is contained in:
@@ -6,16 +6,17 @@ project( ReiLua )
|
||||
|
||||
set( CMAKE_C_STANDARD 99 ) # Requires C99 standard
|
||||
|
||||
if( DEBUG )
|
||||
message( Debug )
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -ggdb -std=c99 -Wall -pedantic -fno-common" )
|
||||
else()
|
||||
message( Release )
|
||||
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -std=c99 -Wall -pedantic -fno-common" )
|
||||
option( SHARED "Build using dynamic libraries." off )
|
||||
|
||||
if( NOT CMAKE_BUILD_TYPE )
|
||||
SET( CMAKE_BUILD_TYPE Release CACHE STRING
|
||||
"Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
|
||||
FORCE )
|
||||
endif()
|
||||
|
||||
file( GLOB SOURCES src/*.c )
|
||||
|
||||
include_directories( include )
|
||||
file( GLOB SOURCES "src/*.c" )
|
||||
add_executable( ${PROJECT_NAME} ${SOURCES} )
|
||||
|
||||
if( EMSCRIPTEN ) # Web
|
||||
|
||||
Reference in New Issue
Block a user