mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-07-16 03:19:07 +02:00
Write PNG files
No biome colors or light levels yet...
This commit is contained in:
parent
cd45c4009c
commit
d26fe3d9f8
6 changed files with 330 additions and 15 deletions
|
@ -1,12 +1,13 @@
|
|||
include_directories(${ZLIB_INCLUDE_DIRS})
|
||||
link_directories(${ZLIB_LIBRARY_DIRS})
|
||||
include_directories(${ZLIB_INCLUDE_DIRS} ${LIBPNG_INCLUDE_DIRS})
|
||||
link_directories(${ZLIB_LIBRARY_DIRS} ${LIBPNG_LIBRARY_DIRS})
|
||||
|
||||
add_executable(MinedMap
|
||||
MinedMap.cpp
|
||||
NBT/Tag.cpp
|
||||
World/BlockType.cpp
|
||||
World/Chunk.cpp
|
||||
World/Region.cpp
|
||||
)
|
||||
set_target_properties(MinedMap PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${ZLIB_CFLAGS_OTHER}")
|
||||
set_target_properties(MinedMap PROPERTIES LINK_FLAGS "${ZLIB_LDFLAGS_OTHER}")
|
||||
target_link_libraries(MinedMap ${ZLIB_LIBRARIES})
|
||||
set_target_properties(MinedMap PROPERTIES COMPILE_FLAGS "-std=c++11 -Wall ${ZLIB_CFLAGS_OTHER} ${LIBPNG_CFLAGS_OTHER}")
|
||||
set_target_properties(MinedMap PROPERTIES LINK_FLAGS "${ZLIB_LDFLAGS_OTHER} ${LIBPNG_LDFLAGS_OTHER}")
|
||||
target_link_libraries(MinedMap ${ZLIB_LIBRARIES} ${LIBPNG_LIBRARIES})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue