File tree Expand file tree Collapse file tree 3 files changed +820
-0
lines changed
Expand file tree Collapse file tree 3 files changed +820
-0
lines changed Original file line number Diff line number Diff line change 22
33# Build useful tool binaries.
44if (RTS_BUILD_GENERALS_TOOLS)
5+ add_subdirectory (DataChunkConverter)
56 add_subdirectory (GUIEdit)
67 add_subdirectory (ImagePacker)
78 add_subdirectory (MapCacheBuilder)
Original file line number Diff line number Diff line change 1+ if (NOT IS_VS6_BUILD)
2+ add_executable (g_datachunkconverter)
3+ set_target_properties (g_datachunkconverter PROPERTIES OUTPUT_NAME datachunkconverter WIN32_EXECUTABLE FALSE )
4+
5+ target_sources (g_datachunkconverter PRIVATE
6+ DataChunkConverter.cpp
7+ )
8+
9+ target_include_directories (g_datachunkconverter PRIVATE
10+ ${CMAKE_CURRENT_SOURCE_DIR} /../../GameEngine/Include
11+ ${CMAKE_CURRENT_SOURCE_DIR} /../../GameEngine/Include /Precompiled
12+ ${CMAKE_CURRENT_SOURCE_DIR} /../../Libraries/Include
13+ ${CMAKE_SOURCE_DIR} /Core/GameEngine/Include
14+ ${CMAKE_CURRENT_SOURCE_DIR} /../../GameEngineDevice/Include
15+ )
16+
17+ target_compile_definitions (g_datachunkconverter PRIVATE
18+ RTS_HAS_JSON_CHUNK
19+ )
20+
21+ target_link_libraries (g_datachunkconverter PRIVATE
22+ g_gameengine
23+ g_gameenginedevice
24+ gi_always
25+ comctl32
26+ core_debug
27+ core_profile
28+ winmm
29+ vfw32
30+ imm32
31+ )
32+ endif ()
You can’t perform that action at this time.
0 commit comments