Add to workspace
by James Mintram · in Torque Game Engine · 01/02/2007 (2:18 pm) · 2 replies
Hi, I have seen a few resources around here that ask you to add certain files to the workspace before compiling, what does this equate to in linux? Modifying the make file? Simply copying the files to the required locations?
Thanks
James Mintram
Thanks
James Mintram
About the author
Torque Owner Gary "ChunkyKs" Briggs
Open up engine/targets.torque.mk, and add it there, ideally to the same group thing as the directory you've put it in.
So for example, if you added a file called undo.cc in the util dir, you'd open targets.torque.mk, scroll down until you find this bit:
SOURCE.UTIL=\ util/frustrumCuller.cpp \ util/quadTreeTracer.cpp \ util/rectClipper.cpp \ util/triBoxCheck.cppAnd just add util/undo.cc there:
SOURCE.UTIL=\ util/frustrumCuller.cpp \ util/quadTreeTracer.cpp \ util/rectClipper.cpp \ util/triBoxCheck.cpp \ util/undo.ccWorkspace is a windows visual studio term to describe adding files into your pointyclickky gui thing, to tell VS to subsequently build it.
Gary (-;