Not logged inOpenClonk Forum
Up Topic Out-of-tree builds need a symlink to planet now

This board is threaded (i.e. has a tree structure). Please use the Reply button of the specific post you are referring to, not just any random button. If you want to reply to the topic in general, use the Post button near the top and bottom of the page.

Post Reply
In Response to Günther
Let DWCC be the directory the CMakeCache.txt is in. The CMAKE_INTDIR is there to compensate for the fact that some CMake targets put the binary in DWCC/Debug/, DWCC/Release/, etc., and some in DWCC/. But I think MSVC may make the working directory be DWCC when starting from the debugger instead of DWCC/Debug or something, since I got some str.

The setup I'm using is a symlink from DWCC/planet to planet/ in the source directory, and I'm starting the engine with ./clonk planet/Tests.ocf/Minimal.ocs or just ./clonk. Also, for occasional tests with MSVC, I simply made the DWCC be the repository directory. You don't need multiple DWCC for release and debug builds with MSVC, and the average casual windows developer won't need them for crosscompiling or other experiments.

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill