This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS 4 project sources tree

 Hi.

I'm trying CCS v4 (Version: 4.1.0.02003). There is one question. My project sources have a tree structure. How can i control which dirs with sources should be compiled?  It seems to me that IDE parses dirs tree recursively and compile every *.c file.

Also, I have a subfolder with a pair of dirs: 'dbg' and 'rel'  that contain 'debug' and 'release' versions of some library. So, linker also receives every library and because of that i have 'lerrors during linking'.

How can i control which sources and libs should be compiled and linked?

Thank you.

  • Hi Alex,

    You can define different build configurations just as in CCSv3. To do so, rightclick on the project root and manage the build configurations under properties. After that, in the properties of every file ('rightclick -> properties -> C/C++ Build' in the Project View) you can exclude files from build configurations. As far as I know there is no way to do the same for directories, but I can be wrong.

    Best Andreas