28 lines
434 B
CMake
28 lines
434 B
CMake
cmake_minimum_required(VERSION 3.0)
|
|
project(dragonblocks)
|
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/bin)
|
|
add_executable(dragonblocks
|
|
src/entity.cpp
|
|
src/game.cpp
|
|
src/graphics.cpp
|
|
src/inventory.cpp
|
|
src/main.cpp
|
|
src/map.cpp
|
|
src/mapgen.cpp
|
|
src/mods.cpp
|
|
src/node.cpp
|
|
src/player.cpp
|
|
src/texture.cpp
|
|
src/threads.cpp
|
|
src/util.cpp
|
|
)
|
|
|
|
target_link_libraries(dragonblocks
|
|
GL
|
|
glut
|
|
lua5.3
|
|
pthread
|
|
png16
|
|
m
|
|
)
|