Removed unnecessary print message, and added timer.c to source files
This commit is contained in:
@@ -7,7 +7,6 @@ cmake = import('cmake')
|
|||||||
if get_option('default_library') == 'shared'
|
if get_option('default_library') == 'shared'
|
||||||
raylib = dependency('raylib', required: false) # Try to find dependency with pkg-config
|
raylib = dependency('raylib', required: false) # Try to find dependency with pkg-config
|
||||||
if not raylib.found()
|
if not raylib.found()
|
||||||
message('===========+RAYLIB NOT FOUND===============')
|
|
||||||
raylib = compiler.find_library('raylib', has_headers: ['raylib.h', 'raymath.h'], required: false) # Try to manually search for the dependency
|
raylib = compiler.find_library('raylib', has_headers: ['raylib.h', 'raymath.h'], required: false) # Try to manually search for the dependency
|
||||||
endif
|
endif
|
||||||
if not raylib.found()
|
if not raylib.found()
|
||||||
@@ -35,6 +34,6 @@ endif
|
|||||||
|
|
||||||
executable('pong',
|
executable('pong',
|
||||||
'main.cpp', 'easysock.cpp', 'sock.cpp','paddle.cpp', 'ball.cpp', 'numeric_base.cpp', 'connect_code.cpp', 'server.cpp', 'client.cpp', 'check_input.cpp',
|
'main.cpp', 'easysock.cpp', 'sock.cpp','paddle.cpp', 'ball.cpp', 'numeric_base.cpp', 'connect_code.cpp', 'server.cpp', 'client.cpp', 'check_input.cpp',
|
||||||
'serialization.c',
|
'serialization.c', 'timer.c',
|
||||||
dependencies: [raylib, ws2_dep, winmm]
|
dependencies: [raylib, ws2_dep, winmm]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user