Reputation: 41
I'm trying to set the default build directory in qtCreator to, depending on build type:
bin/debug
bin/release
I have changed the default value of
../build-%{CurrentProject:Name}-%{CurrentKit:FileSystemName}-%{CurrentBuild:Name}
to
bin/%{CurrentBuild:Name}
It builds fine, creates the directories etc; only issue is it creates the Debug|Release
directory with a capital letter. Is there a way to make this lower case as every other folder in the path is lower case?
Upvotes: 1
Views: 1232
Reputation: 21
While I have been unable to find a way to make arbitrary strings lowercase, there is a variable that has the lowercase build type: 'CurrentBuild:Type'
So, the following default build path accomplishes what you want:
./bin/%{CurrentBuild:Type}
Upvotes: 2