[CMake] Runtime output directory inconsistencies

2009-09-12 Thread stefan)
Hi, I have another question. I am trying to control the output directory of my executable. I use the following code and it works almost perfect: SET_TARGET_PROPERTIES( ${EXAMPLE_NAME} PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${BINARY_DESTINATION_PATH} ) The only problem is that on some plat

[CMake] working directory when running binary

2009-09-12 Thread stefan)
Hi cmakers, I am hitting some bumps trying to make my cmake generates project files to behave like they should. I am working with xcode, vs9 2008, and code::blocks (linux). In all but code::blocks I can build my project and run it. The problem is with resource files. While the working directory is

Re: [CMake] add_subdirectory and build directory

2009-09-12 Thread David Cole
On Sat, Sep 12, 2009 at 2:45 AM, Michael Wild wrote > > > True, but then you wouldn't point it at a binary directory. AFAIK, if you > point project A at an out-of-source source, say project B, that project B > will be built completely within the binary tree of A. > > The second argument to add_sub

Re: [CMake] Eclipse CDT4 generator - No source files

2009-09-12 Thread Eric Noulard
2009/9/11 Dixon, Shane : > I’m generating an eclipse project and whenever I import the project, all the > files are there except for the source and header files.  I had a similar > problem when generating “Visual Studio 9 2008” projects ( I was missing the > header files).  I fixed that by adding a