5 ms·
> cmake: this is almost a dream meta build system but unfortunately it cannot properly generate distributable build systems. For example the generated Visual St
by jcelerier 5y ago
> cmake: this is almost a dream meta build system but unfortunately it cannot properly generate distributable build systems. For example the generated Visual Studio project files only work on the local machine.
can Visual Studio project files even be portable ? before CMake, I remember having to go edit variables in a FUCKING GUI to indicate to Visual Studio where to find OpenCV, Boost, etc. For organizations it isn't an issue because everyone has the same FS tree and the libraries in the same place so the VS files can have hardcoded paths, but that just does not work for stuff where someone may have opencv in c:\opencv\3.4 and someone else in d:\libs\cv\opencv\ or c:\program files (x86)\opencv\...
- erwincoumans 5y agoMSVC project files can be portable, if you are careful about using relative paths, and use environment variables for CUDA, PYTHON_PATH, OpenCV etc (if needed).