[CMake] copying directory structure : path issue

2009-03-02 Thread Benoit Callebaut
Hello, I need to copy a directory structure into a MAC OSX bundle at build time and to generate a configuration file containing the file-paths of those file (or at least the directories where they are located). I can up to now copy the files in the bundle but CMAKE destroys the directory s

[CMake] adding extra resources to MACOSX package

2009-02-27 Thread Benoit Callebaut
Hello, How can I copy external resources in the MACOSX bundle. I haven't seen any command to do this. I also need to change paths in a config file depending on the packaging (MACOSX or Linux or Windows). Is it possible to call some external program like sed ,awk or a custom script in CMAKE ?

Re: [CMake] MAC OXS linking problem : -lcrt1.10.5.o not found

2009-02-27 Thread Benoit Callebaut
Tanks, adding -mmacosx-version-min=10.4 to the CMAKE_CXX_FLAGS, it worked. But I had to change the compiler from c++ to g++. On Feb 26, 2009, at 4:17 PM, Sean McBride wrote: On 2/26/09 4:07 PM, Benoit Callebaut said: I end up with the following message: Linking CXX executable

[CMake] MAC OXS linking problem : -lcrt1.10.5.o not found

2009-02-26 Thread Benoit Callebaut
/OgreSDK/OgreSDK/Dependencies/lib/Release/ -I/Developer/ SDKs/OgreSDK/OgreSDK/Samples/include/ -L/Developer/SDKs/OgreSDK/ OgreSDK/Dependencies/ -l ois -framework Carbon -framework Ogre - framework IOKit CubeMapping.cpp Where can this problem come from ? Benoit Callebaut