Build: Fix codeblocks debug and object directory

This commit is contained in:
Jérôme Leclercq 2016-11-06 23:49:10 +01:00
parent 4f01e13b09
commit 638467f879
1 changed files with 2 additions and 2 deletions

View File

@ -102,10 +102,10 @@
_p(4,'<Option output="%s" prefix_auto="0" extension_auto="0" />', p.esc(cfg.buildtarget.relpath))
if cfg.debugdir then
_p(4,'<Option working_dir="%s" />', p.esc(cfg.debugdir))
_p(4,'<Option working_dir="%s" />', p.esc(path.getrelative(prj.location, cfg.debugdir)))
end
_p(4,'<Option object_output="%s" />', p.esc(cfg.objectsdir))
_p(4,'<Option object_output="%s" />', p.esc(path.getrelative(prj.location, cfg.objdir)))
-- identify the type of binary
local types = { WindowedApp = 0, ConsoleApp = 1, StaticLib = 2, SharedLib = 3 }