I have an executable project configured in CodeLite, and I use the PostBuild commands to generate the required app bundle. Basically, PostBuild calls an external "bundle.sh" script which generates the folders and property files of the bundle, and then uses "cp" to copy the binary and the required resources.
One of the resources I need to copy is a JPG image which has a dollar $ symbol on its name. In order to put a dollar symbol in the command, I think I should use the same syntax as in a Makefile, and I wrote it down like this:
Code: Select all
cp ../../Resources/Meshes/Teapot/$$spheremap.jpg ./$(ProjectName).app/Contents/Resources/$$spheremap.jpg
Code: Select all
cp ../../Resources/Meshes/Teapot/$spheremap.jpg ./test_teapot.app/Contents/Resources/$spheremap.jpg
cp: ../../Resources/Meshes/Teapot/.jpg: No such file or directory