Commit 5bacc7d8 authored by Thomas Debesse's avatar Thomas Debesse

Merge branch 'winconsole' into 'master'

make tools target the console subsystem on Windows

See merge request !137
parents 7f395ee9 0f91bcf3
......@@ -90,6 +90,7 @@ set(RADIANTLIST
xmlstuff.cpp xmlstuff.h
xywindow.cpp xywindow.h
)
if (WIN32)
list(APPEND RADIANTLIST multimon.cpp multimon.h)
endif ()
......@@ -126,6 +127,7 @@ target_link_libraries(${RADIANT_BASENAME}
uilib
xmllib
)
if (X11_LIBRARIES)
target_link_libraries(${RADIANT_BASENAME} ${X11_LIBRARIES})
endif ()
......
......@@ -4,7 +4,7 @@ find_package(LibXml2 REQUIRED)
include_directories(${LIBXML2_INCLUDE_DIR})
radiant_tool(q2map
WIN32 q2map/q2map.rc
q2map/q2map.rc
common/bspfile.c common/bspfile.h
common/cmdlib.c common/cmdlib.h
......@@ -56,7 +56,7 @@ target_link_libraries(q2map
)
radiant_tool(qdata3
WIN32 qdata/qdata.rc
qdata/qdata.rc
common/bspfile.c common/bspfile.h
common/cmdlib.c common/cmdlib.h
......
......@@ -6,7 +6,7 @@ find_package(LibXml2 REQUIRED)
include_directories(${LIBXML2_INCLUDE_DIR})
radiant_tool(h2data
WIN32 h2data.rc
h2data.rc
common/bspfile.c common/bspfile.h
common/cmdlib.c common/cmdlib.h
......
......@@ -60,7 +60,7 @@ set(q3map2_games
)
radiant_tool(q3map2
WIN32 q3map2/q3map2.rc
q3map2/q3map2.rc
common/cmdlib.c common/cmdlib.h
common/imagelib.c common/imagelib.h
......@@ -155,7 +155,7 @@ target_link_libraries(q3map2
)
radiant_tool(q3data
WIN32 q3data/q3data.rc
q3data/q3data.rc
common/aselib.c common/aselib.h
common/bspfile.c common/bspfile.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment