summary refs log tree commit diff stats
path: root/tools/sprite_dumper/CMakeLists.txt
blob: 62f4a28deac0bc20776d8cb1db0987666bdeeb01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
cmake_minimum_required (VERSION 3.1)
project (sprite_dumper)

set(CMAKE_BUILD_TYPE Debug)

find_package(PkgConfig)
pkg_check_modules(GraphicsMagick GraphicsMagick++ REQUIRED)

include_directories(${GraphicsMagick_INCLUDE_DIRS})

add_executable(sprite_dumper sprite_dumper.cpp)
set_property(TARGET sprite_dumper PROPERTY CXX_STANDARD 17)
set_property(TARGET sprite_dumper PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(sprite_dumper ${GraphicsMagick_LIBRARIES})

add_executable(tileset_dumper tileset_dumper.cpp)
set_property(TARGET tileset_dumper PROPERTY CXX_STANDARD 17)
set_property(TARGET tileset_dumper PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(tileset_dumper ${GraphicsMagick_LIBRARIES})