1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
INCLUDE_DIRECTORIES(../../rts/ ../../rts/System ../../rts/Game ../../rts/Sim/Misc)
SET(build_files
../../rts/Game/GameVersion
../../rts/Game/PlayerStatistics
../../rts/Sim/Misc/TeamStatistics
../../rts/System/Net/RawPacket
../../rts/System/DemoReader
../../rts/System/Demo)
ADD_EXECUTABLE(demotool EXCLUDE_FROM_ALL DemoTool ${build_files})
IF (MINGW)
# To enable console output/force a console window to open
SET_TARGET_PROPERTIES(demotool PROPERTIES LINK_FLAGS "-Wl,-subsystem,console")
ENDIF (MINGW)
TARGET_LINK_LIBRARIES(demotool ${Boost_PROGRAM_OPTIONS_LIBRARY})
|