Closed GoogleCodeExporter closed 9 years ago
I was not able to run the patch (weird since, I'm only one revision ahead, and
did not change SlideShow.cpp).
I would like all the build related stuff (including obj files and stuff) to be
generated inside the recast demo build or bin directory. From what I figured
out from the makefiles, it will create a bin dir per project.
I have earlier tried to use cmake and premake and have got few implementations
of those too. But so far I have failed to make them work on my machine, so that
has prevented me to push it any further. Did I mention that I have zero
attention span for makefile tinkering? ;)
Original comment by memono...@gmail.com
on 23 Oct 2010 at 10:06
I updated the patch to generate all files in RecastDemo/Bin. I also used some
GNU-Make-fu to make adding and modifying targets simple as possible; every
target (that is, Recast, Detour, DebugUtils and RecastDemo) has a separate
makefile named <target-name>.mk in RecastDemo/Build/GNUMake now which only
requires you to set some variables (SOURCES, HEADERS, and CPPFLAGS / LDFLAGS /
LIBS if needed) and include the right "worker" makefile (Library.mk,
HelperLibrary.mk or Program.mk). Hope this helps
you keep makefile tinkering to a minimum. ;)
Original comment by denis.a....@gmail.com
on 23 Oct 2010 at 6:35
Attachments:
Thanks. I wish I was able to test the makefile locally as I change things.
Anyways, I checked them in.
Oh, one more wish... I wish the .o files would not go to bin, but some temp
folder under GNUMake perhaps.
Original comment by memono...@gmail.com
on 24 Oct 2010 at 11:44
Great! The attached patch change the output path of the .o files to
RecastDemo/Build/GNUMake/Objects.
Original comment by denis.a....@gmail.com
on 24 Oct 2010 at 12:49
Attachments:
Checked in R247. I'll mark this as fixed now.
Original comment by memono...@gmail.com
on 24 Oct 2010 at 1:23
Original issue reported on code.google.com by
denis.a....@gmail.com
on 22 Oct 2010 at 6:41Attachments: