Page 1 of 1

How to disable generation of PROJECTNAME.TXT when building?

Posted: Mon May 09, 2016 5:20 pm
by ssawgift
I'm a new user of CL. I am using the latest weekly build 9.1.6. I found an interesting thing when building my project that the commandline always has @"PROJECTNAME.TXT" in it, like this:

C:/Programs/gnu/mingw64/bin/g++.exe -o ./bin/Debug/test.exe @"test.txt" -L. -static-libstdc++ -static-libgcc -municode

And I don't want this file as it is not useful to me at all. Is there an option for me to disable it?

Re: How to disable generation of PROJECTNAME.TXT when buildi

Posted: Tue May 10, 2016 4:28 pm
by eranif
settings->build settings->YOUR COMPILER->Advanced->Pass object list to the linker via file

Eran

Re: How to disable generation of PROJECTNAME.TXT when buildi

Posted: Wed May 11, 2016 6:15 am
by ssawgift
eranif wrote:settings->build settings->YOUR COMPILER->Advanced->Pass object list to the linker via file

Eran
Ah! At first, I thought it solved my problem because I don't see @test.txt included on commandline. Then I deleted test.txt and built test project. And alas! I found test.txt was generated again.

Anyway, I have created a ticket on this problem, see https://github.com/eranif/codelite/issues/1277.