Codewarrior 10.1 for Kinetis
I need to have a number of different configurations for each project.
Each configuration will have a number of configuration-specfic #include files. Some of these files will be generated by pre-build scripts from e.g. .BMP files. If I put these .BMP files in the configuration folder, and start a Clean/Build, the files are destroyed and the script fails.
I found this process easy to do with IAR, but I am struggling to find settings, processes etc that allow this to work.
Can someone please point out the obvious!
Thanks
Alex
Solved! Go to Solution.
Hello
When you perform a Project Clean, Eclipse will delete the whole build directory.
So only files that are re-created by a Project Build should be stored in there.
If you need to keep the .bmp file after a Clean Project you need to store them in a folder outside of the build directory.
You can for example create a directory bmp_files and add one sub-directory for each build configuration you are using.
Then store the .bmp files in the appropriate sub directory.
If the directory bmp_files is located in the project directory tree, make sure to exclude the folders holding .bmp for other
configurations from a particular build config.
This is quite easy. To remove a folder from a build configuration:
- Inside of the CodeWarrior Project view, click right on the folder name
- In the drop down menu select Properties.
- Activate the C/C++ Build page
- Check Exclude resource from build.
CrasyCat
Hello
When you perform a Project Clean, Eclipse will delete the whole build directory.
So only files that are re-created by a Project Build should be stored in there.
If you need to keep the .bmp file after a Clean Project you need to store them in a folder outside of the build directory.
You can for example create a directory bmp_files and add one sub-directory for each build configuration you are using.
Then store the .bmp files in the appropriate sub directory.
If the directory bmp_files is located in the project directory tree, make sure to exclude the folders holding .bmp for other
configurations from a particular build config.
This is quite easy. To remove a folder from a build configuration:
- Inside of the CodeWarrior Project view, click right on the folder name
- In the drop down menu select Properties.
- Activate the C/C++ Build page
- Check Exclude resource from build.
CrasyCat
CrasyCat
Many thanks for your reply.
That is working fine now.
Alex