summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
blob: f433bd42e389c73be4561a9cca9d423862e9636e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
include_directories(${ZLIB_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS})
add_definitions(${PNG_DEFINITIONS})

add_executable(MinedMap
  MinedMap.cpp
  GZip.cpp
  Info.cpp
  PNG.cpp

  NBT/Tag.cpp
  Resource/Biome.cpp
  Resource/BlockType.cpp
  World/Block.cpp
  World/Chunk.cpp
  World/Level.cpp
  World/Region.cpp
)
set_target_properties(MinedMap PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall")
target_link_libraries(MinedMap ${ZLIB_LIBRARIES} ${PNG_LIBRARIES})