Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Hlech65730 on August 07, 2020, 07:57:37 pm

Title: How can i get .c and . h files that must not be compiled in the project ?
Post by: Hlech65730 on August 07, 2020, 07:57:37 pm
Hello @ all,
for one Project i need some .c and .h files only for looking to the Content. They do not have to be compiled inside of the Project. When i close the Project the open files are also closed and were not opened automatically when i open the Project again. Can i Change it ? Thank You very much !
Title: Re: How can i get .c and . h files that must not be compiled in the project ?
Post by: Miguel Gimenez on August 07, 2020, 09:12:20 pm
You can add them to the project and then exclude from compilation using Project -> Properties -> Build targets -> Build target files check list box