bob willis
bob willis

Reputation: 49

Change build output directory by pragma

I have a very big solution that has different output directories for a given project, where I need to rebuild 4 configurations. Each configuration has its own respective x32/64 output directory. My question is, can I add a #pragma to specify the output directory within an #ifdef to each #define configuration?

I am getting very fed up changing the output directory manually, in the project properties, each time I want to rebuild the configuration.

Upvotes: 0

Views: 32

Answers (1)

Timbo
Timbo

Reputation: 28060

Just create 4 solution/project configurations and set a different output directory for each of them.

Upvotes: 1

Related Questions