How to disable generation of PROJECTNAME.TXT when building?

General questions regarding the usage of CodeLite
ssawgift
CodeLite Enthusiast
Posts: 17
Joined: Mon Apr 11, 2016 5:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

How to disable generation of PROJECTNAME.TXT when building?

Post 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?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post by eranif »

settings->build settings->YOUR COMPILER->Advanced->Pass object list to the linker via file

Eran
Make sure you have read the HOW TO POST thread
ssawgift
CodeLite Enthusiast
Posts: 17
Joined: Mon Apr 11, 2016 5:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

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

Post 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.
Post Reply