Game Development Community

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

#1
01/03/2007 (1:06 am)
Silly linux build system.

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.cpp

And just add util/undo.cc there:
SOURCE.UTIL=\
        util/frustrumCuller.cpp \
        util/quadTreeTracer.cpp \
        util/rectClipper.cpp \
        util/triBoxCheck.cpp \
        util/undo.cc


Workspace is a windows visual studio term to describe adding files into your pointyclickky gui thing, to tell VS to subsequently build it.

Gary (-;
#2
01/03/2007 (8:40 am)
Thank you very much!, Got it sorted now =)