[CMake] configuring cmake with cygwin

2008-10-28 Thread THE HIGHHAT
Any suggestions on how to get this combination to generate correct output: cmake 2.6.x on win32 via cygwin generating Unix Makefiles for c++ code compiling with Intel 10.x compilers executed from a cygwin shell ? I have run into a brick wall with tthis combination. There are cmake packa

Re: [CMake] configuring cmake with cygwin

2008-10-28 Thread THE HIGHHAT
> You should use the native windows binary for CMake from www.cmake.org with > Unix Makefiles, and the modified make. Set CXX and CC to the correct > compilers before running cmake. This combination will succesully generate the makefiles. The native cygwin make does not work though. Needed to u

Re: [CMake] INCLUDE_DIRECTORIES in sub-directories doesn't work?

2008-11-25 Thread THE HIGHHAT
On Tue, Nov 25, 2008 at 3:43 PM, Sean Soria <[EMAIL PROTECTED]> wrote: > No, this doesn't work either: > CMakeLists.txt: > ADD_SUBDIRECTORY(foo) > ADD_EXECUTABLE(hello main.c foo/main.c) > > foo/CMakeLists.txt: > SET_PROPERTY(SOURCE main.c PROPERTY INCLUDE_DIRECTORIES > ${CMAKE_CURRENT_SOURCE_DIR})

Re: [CMake] INCLUDE_DIRECTORIES in sub-directories doesn't work?

2008-11-25 Thread THE HIGHHAT
On Tue, Nov 25, 2008 at 4:10 PM, Sean Soria <[EMAIL PROTECTED]> wrote: > That would add the included directories to every source in the > project. I want it included _only_ for the foo directory. Not necessarily. This would those headers files associated with main.c. The ___