DEFINES += "TARGET=$$TARGET"
#ifdef TARGET#define GET_TARGET_IMPL_2(N) #N#define GET_TARGET_IMPL_1(N) GET_TARGET_IMPL_2(N)#define GET_TARGET() GET_TARGET_IMPL_1(TARGET)#else#define GET_TARGET() ""#endifint main(int argc, char *argv[]){ std::cout << GET_TARGET();}
DEFINES += "TARGET=\"$$TARGET\""
DEFINES += "TARGET=\\\"$$TARGET\\\""
cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -Zc:referenceBinding -Zc:__cplusplus -Zi -MDd -W3 -EHsc /Fdtmp\obj\test_1.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -DWIN64 -DTARGET="test_1" -DQT_FORCE_ASSERTS -DQT_CORE_LIB -IC:\sources\samples\src\test_1 -Fotmp\obj\ @C:\Users\Johnik\AppData\Local\Temp\main.obj.20924.15.jommain.cpp
-DTARGET="test_1"