I would like to get mixed asm + sources file. So I changed build options for single file:
$compiler $options -Wa,-adhln=$file.lst $includes -c $file -o $object
And it is works well, but I need it for all project (more then 50 source files)...
Another way is add generating mix info to global build options, like this:
-Wa,-adhln=$(SOME_VARIABLE_OR_COMMAND)".lst"
but what variable I should use?
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.