TorAn
11th March 2014, 12:08
I want to retrieve the value of one of the CONFIG parameters that is added (debug or release) to use in directory construction.
For example, I am using TARGET as:
MOC_DIR += $${SolutionDir}/Build/Debug/tempFiles/$$TARGET/mocfiles
I'd like to replace Debug with the value added to the config, so it would look like
MOC_DIR += $${SolutionDir}/Build/$$CONFIG/tempFiles/$$TARGET/mocfiles
What is the best approach? Thanks
For example, I am using TARGET as:
MOC_DIR += $${SolutionDir}/Build/Debug/tempFiles/$$TARGET/mocfiles
I'd like to replace Debug with the value added to the config, so it would look like
MOC_DIR += $${SolutionDir}/Build/$$CONFIG/tempFiles/$$TARGET/mocfiles
What is the best approach? Thanks