jumping-in-d/CMakeLists.txt

39 lines
989 B
Text
Raw Normal View History

2015-08-20 13:14:22 +00:00
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
project(hello_d C D)
include_directories(
.
)
include_directories(SYSTEM
lib/DerelictSDL2/source
lib/DerelictUtil/source
)
add_executable(${PROJECT_NAME}
main.d
gameobj.d
bpg.d
texture.d
gameobjjumping.d
2015-08-20 13:14:22 +00:00
lib/DerelictSDL2/source/derelict/sdl2/functions.d
lib/DerelictSDL2/source/derelict/sdl2/image.d
lib/DerelictSDL2/source/derelict/sdl2/mixer.d
lib/DerelictSDL2/source/derelict/sdl2/net.d
lib/DerelictSDL2/source/derelict/sdl2/sdl.d
lib/DerelictSDL2/source/derelict/sdl2/ttf.d
lib/DerelictSDL2/source/derelict/sdl2/types.d
lib/DerelictUtil/source/derelict/util/exception.d
lib/DerelictUtil/source/derelict/util/loader.d
lib/DerelictUtil/source/derelict/util/sharedlib.d
lib/DerelictUtil/source/derelict/util/system.d
lib/DerelictUtil/source/derelict/util/wintypes.d
lib/DerelictUtil/source/derelict/util/xtypes.d
)
target_link_libraries(${PROJECT_NAME}
dl
${CMAKE_CURRENT_SOURCE_DIR}/lib/libbpg-0.9.5/libbpg.a
)