Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Build useful tool binaries.
if(RTS_BUILD_CORE_TOOLS)
# TODO: add subdirectory...
add_subdirectory(DebugWindow)
endif()

# Build less useful tool/test binaries.
Expand Down
28 changes: 28 additions & 0 deletions Core/Tools/DebugWindow/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
set(DEBUGWINDOW_SRC
"DebugWindow.cpp"
"DebugWindow.h"
"DebugWindowDialog.cpp"
"DebugWindowDialog.h"
"DebugWindowExport.h"
"StdAfx.cpp"
"StdAfx.h"
)

add_library(core_debugwindow SHARED)

target_sources(core_debugwindow PRIVATE ${DEBUGWINDOW_SRC})

target_link_libraries(core_debugwindow PRIVATE
core_config
)

if(WIN32 OR "${CMAKE_SYSTEM}" MATCHES "Windows")
target_compile_definitions(core_debugwindow PRIVATE _AFXDLL)
target_sources(core_debugwindow PRIVATE
DebugWindow.rc
DebugWindow.def
)
set_target_properties(core_debugwindow PROPERTIES OUTPUT_NAME DebugWindow)
else()
set_target_properties(core_debugwindow PROPERTIES OUTPUT_NAME debugwindow)
endif()
1 change: 0 additions & 1 deletion Generals/Code/Tools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Build useful tool binaries.
if(RTS_BUILD_GENERALS_TOOLS)
add_subdirectory(DebugWindow)
add_subdirectory(GUIEdit)
add_subdirectory(ImagePacker)
add_subdirectory(MapCacheBuilder)
Expand Down
29 changes: 0 additions & 29 deletions Generals/Code/Tools/DebugWindow/CMakeLists.txt

This file was deleted.

228 changes: 0 additions & 228 deletions Generals/Code/Tools/DebugWindow/DebugWindow.cpp

This file was deleted.

72 changes: 0 additions & 72 deletions Generals/Code/Tools/DebugWindow/DebugWindow.h

This file was deleted.

Loading