UPenn-RoboCup / UPennalizers

Open Source Repository for Team UPennalizers
GNU General Public License v3.0
69 stars 38 forks source link

More General Makefiles #10

Closed jbrindza closed 4 years ago

jbrindza commented 12 years ago

Most (if not all) of the makefiles assume the location of libraries and header files. This requires everyone to either install everything in the same place or edit the makefiles on a per computer basis.

I think an easy, good solution would be to use set environment variables for this e.g. WEBOTS_HOME, LUA_LIB, LUA_INC, etc

If the person has them installed in a different directory then they can set these variables, otherwise it will use the assumed locations as we have before.

An external program such as CMake is also an option.

yida commented 12 years ago

Will that be a good idea to have kind of configure script to automatically check dependencies? CMake might be a good idea for dependencies, but since we mainly working on linux, cross platform seems to be useless