jumping-in-d/CMakeLists.txt

39 lines
1,012 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(
2015-09-16 12:59:10 +00:00
src/
2015-08-20 13:14:22 +00:00
)
include_directories(SYSTEM
lib/DerelictSDL2/source
lib/DerelictUtil/source
)
add_executable(${PROJECT_NAME}
2015-09-16 12:59:10 +00:00
src/main.d
src/gameobj.d
src/bpg.d
src/texture.d
src/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
)