UG4 / ugcore

The core functionality of UG4. Includes sources, build-scripts, and utility scripts.
https://github.com/UG4/ugcore
Other
36 stars 23 forks source link

Merge toolchain files for Windows and newly added init scripts for MSVC++ #4

Closed miho closed 3 years ago

miho commented 8 years ago

Currently, there are multiple files that initialize the MSVC++ toolchain (scripts/shell and cmake/toolchain). These files should be merged into one (btw. the toolchain files are outdated and need to be improved)

sreiter commented 8 years ago

The .bat files in cmake/toolchain seem to be suited for very special demands and setups only. I think that they should be removed. For now the setup of the environment could be performed through the utility script in scripts/shell and the specific build setup should not be included in the general cmake/toolchain directory at all.

In the long run I agree that it would be a good idea to write a cmake-toolchain file that sets up the build environment thus avoiding the use of .bat scripts entirely (if possible) or which invokes those automatically.