Yes, I tried this way, and it works well, as I wrote. But this way works only for one file, so I need to change compiler command line for more than 50 files.
So, I would like to change only one parameter: general compiler options.
Right now it looks:
-pipe
-mthreads
[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.0.0"))) print(_T("-Wno-attributes"));]]
-Winvalid-pch
-include wx_pch.h
I need something like:
-pipe
-mthreads
[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.0.0"))) print(_T("-Wno-attributes"));]]
-Winvalid-pch
-include wx_pch.h
-Wa,-adhln=$(ACTIVE_COMPILED_FILENAME_VARIABLE).lst
But I do not know what variable I should use.