[CMake] Is there a cmake variable/property for temp dir?

Nils Gladitz nilsgladitz at gmail.com
Fri Mar 13 17:30:14 EDT 2015


On 13.03.2015 22:23, Martin Weber wrote:
> ... coding the
> if(win32)
>    set(cmakepp_tmp_dir "$ENV{TMP}")
> else it)linux)
>    set(cmakepp_tmp_dir "$ENV{TMPDIR}")
> becomes tedious. if you have to deal with cross platform builds.

There isn't as far as I know ... why do you need it though?

Why not go with somewhere in the build directory?
It is already full of temporary build artifacts.

Nils


More information about the CMake mailing list