forked from Mirrors/openclonk
![]() With this change, MSVC will build binaries in ${CMAKE_CURRENT_BINARY_DIR} without adding any more subdirectories. It will also expect its data in a directory called "planet" immediately below the binary directory. Since MSVC allows building multiple configurations from the same input file, the resulting binaries will be suffixed by the configuration type. An exception is RelWithDebInfo, which will have no suffix; this was chosen over plain Release to aid in debugging. Building OpenClonk will work out of the box for in-source builds, but out-of-source builds will have to create a symlink or a directory junction. We consider this an acceptable drawback; it was proposed that if you use the non-default option of an out-of-tree build, you will also know how to create a link or a junction to, or copy the planet directory. This changeset also revives looking for game data in the same directory as the binary, which was part of c3fc1ee1ec8c [Peter Wortmann]. |
||
---|---|---|
.. | ||
c4group | ||
config | ||
control | ||
editor | ||
game | ||
gui | ||
lib | ||
netio | ||
netpuncher | ||
network | ||
platform | ||
res | ||
script | ||
zlib | ||
C4Application.cpp | ||
C4Application.h | ||
C4FullScreen.cpp | ||
C4FullScreen.h | ||
C4Game.cpp | ||
C4Game.h | ||
C4Globals.cpp | ||
C4GraphicsSystem.cpp | ||
C4GraphicsSystem.h | ||
C4Include.cpp | ||
C4Include.h | ||
C4Prototypes.h | ||
C4Version.h.in | ||
C4WinMain.cpp |