GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.35k stars 1.2k forks source link

CMake not creating relative paths for visual studio 2014 #2218

Closed velteyn closed 6 years ago

velteyn commented 6 years ago

Hello, I was able to compile the project correctly using Cmake 3.4.0 and Visual Studio 2014, but I could not find the option to make relative paths.. I noticed that it made only absolutes...

I think this is a bug :(

dottools commented 6 years ago

It is not possible for relative paths in CMake anymore as the CMake devs removed relative path support since v3.4. They did this because their generated Makefiles never could use relative paths and they got tired of making sure non-Makefile generated files work properly with CMAKE_USE_RELATIVE_PATHS option and thus stopped supporting it for other toolchains like Visual Studio. CMake devs are heavily Makefile biased, hence why Visual Studio generated projects are always such as mess with things that only Makefile projects really should have.

chaigler commented 6 years ago

@velteyn Consider closing this one unless you have some additional info. dottools is correct - CMake hasn't supported relative paths in quite a while.

velteyn commented 6 years ago

Im very sorry to hear this but .. c'est la vie