Re: [CMake] compare two files - testing

2009-07-04 Thread Michael Wild
On 4. Jul, 2009, at 0:56, James C. Sutherland wrote: I have a test that produces output files that I would like to compare against a blessed copy. Is there a way to do this in CMake/CTest? This is probably a very simple thing, but I have not figured out how to do it. I have an

Re: [CMake] project() and SLN files

2009-07-04 Thread Michael Wild
On 4. Jul, 2009, at 0:24, Andreas Pakulat wrote: On 03.07.09 17:09:08, Robert Dailey wrote: Again, this is all just a misunderstanding on my part. It was a bit misleading. What purpose does project() serve on other generators, like XCode or Makefile? As far as I know for Unix Makefile's

[CMake] Static/Shared library targets becomes Static/Shared configurations under VS9

2009-07-04 Thread Aurélien Vallée
Hello, I have some questions regarding CMake generator for VS9. My library can be built as shared or static. Currently, this is handled using two different targets in CMakeLists.txt. The problem is that under Visual Studio 2008, those two targets are two projects ! So in the solution explorer I

Re: [CMake] make - cannot open output file . (dot)

2009-07-04 Thread Bill Hoffman
t...@unforbidable.com wrote: So I tried to set EXECUTABLE_OUTPUT_PATH to the same path as PROJECT_BINARY_DIR like so: SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR} CACHE PATH Single output directory for building all executables. FORCE) This works on Windows (nmake makefiles) but when using

Re: [CMake] make - cannot open output file . (dot)

2009-07-04 Thread t...@unforbidable.com
t...@unforbidable.com wrote: So I tried to set EXECUTABLE_OUTPUT_PATH to the same path as PROJECT_BINARY_DIR like so: SET(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR} CACHE PATH Single output directory for building all executables. FORCE) This works on Windows (nmake makefiles)

Re: [CMake] Static/Shared library targets becomes Static/Shared configurations under VS9

2009-07-04 Thread Philip Lowman
2009/7/4 Aurélien Vallée vallee.aurel...@gmail.com Hello, I have some questions regarding CMake generator for VS9. My library can be built as shared or static. Currently, this is handled using two different targets in CMakeLists.txt. The problem is that under Visual Studio 2008, those two