When generating a Visual Studio project using qmake I want a custom build configuration called "Tests" along with my Debug and Release configs.
Example shown below:
build configs.png

I understand a little but how configs work in qmake. I was able to generate my own custom config in my .pro file using this code

Qt Code:
  1. addExclusiveBuilds(tests, Tests)
  2.  
  3. CONFIG(Tests) {
  4. message(Test config enabled)
  5. }
To copy to clipboard, switch view to plain text mode 

And then by calling:
Qt Code:
  1. qmake project.pro CONFIG+=Tests
To copy to clipboard, switch view to plain text mode 
I receive the 'Test config enabled' message in the command line just fine. Is there anyway at all i can have this 'Test' config ported over to my visual studios build configs? I've seen it done with CMake before, so I also assume it would be possible with QMake