Relative file paths & libraries
by Nathan Bowhay - ESAL · in Torque 3D Professional · 11/09/2009 (6:46 pm) · 0 replies
I have 2 suggestions/questions about the automatic project generation. One is more of a suggestion and that is to make the file paths in the vcproj files (and possibly others) relative so for example:
This is not a big deal if you are all working off the same install directory and just copy your changes over to it, but this isn't always the case.
The second thing is sort off a question with a possible suggestion and that is:
Is there any way to add your own library file easily?
I saw some code in php files, but it looked that that was for project creation, and not sure how it all works.
Usually we just make a project file for the library, put the folder of C++ files that make up the library in C:TorqueTorque 3D 2009 SDK 1.0.1Enginelib<library name> and then just add the project to the sln file.
AdditionalIncludeDirectories="C:/Torque/Torque 3D 2009 SDK 1.0.1/Engine/lib/zlib;"should be
AdditionalIncludeDirectories="../../../../../Engine/lib/zlib;"
This is not a big deal if you are all working off the same install directory and just copy your changes over to it, but this isn't always the case.
The second thing is sort off a question with a possible suggestion and that is:
Is there any way to add your own library file easily?
I saw some code in php files, but it looked that that was for project creation, and not sure how it all works.
Usually we just make a project file for the library, put the folder of C++ files that make up the library in C:TorqueTorque 3D 2009 SDK 1.0.1Enginelib<library name> and then just add the project to the sln file.