Arek' Fu
Arek' Fu

Reputation: 867

Define the CMake object-file directory on a per-configuration basis

Intermediate object files always get built in the same directory (which for me defaults to CMakeFiles/<target>.dir/). Is it possible to make this directory configuration-dependent? That would save me from recompiling all the object files every time I switch configuration.

Upvotes: 3

Views: 841

Answers (1)

user1036181
user1036181

Reputation:

You should use separate build tree for each build configuration instead.

Upvotes: 4

Related Questions