From 9633c8c2b70d230ec0c0825e29f52722744afcb4 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 28 Nov 2016 20:21:21 +0100 Subject: Core/Debugging: Partially revert e0fb4445cd2f5f4bb94ea23122548debddc41ba6, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only) --- src/tools/map_extractor/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/tools/map_extractor') diff --git a/src/tools/map_extractor/CMakeLists.txt b/src/tools/map_extractor/CMakeLists.txt index 656bee3d5a0..09bb1792654 100644 --- a/src/tools/map_extractor/CMakeLists.txt +++ b/src/tools/map_extractor/CMakeLists.txt @@ -13,6 +13,10 @@ CollectSourceFiles( ${CMAKE_CURRENT_SOURCE_DIR} PRIVATE_SOURCES) +if (WIN32) + list(APPEND PRIVATE_SOURCES ${sources_windows}) +endif() + add_executable(mapextractor ${PRIVATE_SOURCES} ) -- cgit v1.2.3