User forums > Using Code::Blocks

How can i get .c and . h files that must not be compiled in the project ?

(1/1)

Hlech65730:
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 !

Miguel Gimenez:
You can add them to the project and then exclude from compilation using Project -> Properties -> Build targets -> Build target files check list box

Navigation

[0] Message Index

Go to full version