If the name is not sufficient (which should be there by default), I guess it 
would be just %{BuildConfig:Type}

Br, Eike

> Am 24/05/2023 um 10:06 schrieb Andrzej Telszewski <andr...@telszewski.com>:
> 
> Hi,
> 
> when configuring CMake based project, I would like the build directory to 
> contain the _build type_ in the directory path.
> 
> I tried putting:
> 
> - %{CurrentDocument:Project:BuildConfig:Name}
> - %{ActiveProject:BuildConfig:Name}
> - %{CurrentDocument:Project:BuildConfig:Type}
> - %{ActiveProject:BuildConfig:Type}
> 
> 
> in the _Default build directory:_ in Preferences -> Build & Run -> Default 
> Build Properties.
> 
> Unfortunately, when configuring the project, I get _empty_ or "unknown" 
> strings.
> 
> Is there any way to solve it?
> 
> Thank you!
> 
> --
> Best regards,
> Andrzej Telszewski
> 
> -- 
> Qt-creator mailing list
> Qt-creator@qt-project.org
> https://lists.qt-project.org/listinfo/qt-creator

-- 
Eike Ziller
Principal Software Engineer

Qt Group
Erich-Thilo-Straße 10
12489 Berlin, Germany
eike.zil...@qt.io
https://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 
144331 B


-- 
Qt-creator mailing list
Qt-creator@qt-project.org
https://lists.qt-project.org/listinfo/qt-creator

Reply via email to