Open ab9rf opened 1 year ago
i dug around this for a while, it seems i can set these properties on any of the specifically defined targets (like, say, dfhack) but setting in on ALL_BUILD (which is the target vs uses for launching the debugger) is not possible in cmake without modifying cmake itself. bleah
will keep digging
it looks like changing the startup project to be dfhack instead of ALL_BUILD (the default) will accomplish the desired result, but there may be other consequences to doing this
it would be helpful to have the solution created by cmake set the project debug command to
$DF_PATH\Dwarf Fortress.exe
and debug working directory to$DF_PATH
, since this facilitates debugging DF/DFHack directly from visual studio. as it is, i have to manually update this whenever i regenerate a clean build tree, which is slightly annoying