[CMake] Include directories for C compile command

2011-08-03 Thread Andrei Buzgan
Hello everyone, I'm trying to set up an environment for building a pre-existing medium sized embedded software project, by using CMake 2.8 and MinGW. The compiler kit is specific for the target microcontroller and contains C compiler, assembler, linker, all different executables. I do have some

Re: [CMake] [cmake-developers] Cross platform test for comparing two text files

2011-08-03 Thread Eric Noulard
2011/8/2 Ali Ghayoor alii.ghay...@gmail.com: Thank you Eric, I want use this inside a Cmake file not as a command line, you can call cmake from within a CMake script using execute_process. so I used the flag of --compare_files inside the Cmake file, but it does not still work. I do not

Re: [CMake] Header and CXX.includecache - how first comes in second

2011-08-03 Thread Michael Wild
On 08/03/2011 01:07 PM, Mikhail Pridushchenko wrote: Hello! I have a problem with include files dependencies in my C++ project: iostream system header (for example) is being cached by CMake in CXX.includecache file for some targets. Also there are no #include iostream lines in my

Re: [CMake] Gathering up required shared libraries

2011-08-03 Thread Clinton Stimpson
On Tuesday, August 02, 2011 06:36:45 pm David Cole wrote: On Tue, Aug 2, 2011 at 8:05 PM, Clinton Stimpson clin...@elemtech.com wrote: On Aug 2, 2011, at 5:47 PM, Gregory Crosswhite wrote: On 8/2/11 4:32 PM, Clinton Stimpson wrote: There is no scanning the file system to find which

Re: [CMake] How to installing cmake Config.cmake files under Debian multiarch ?

2011-08-03 Thread Brad King
On 8/3/2011 11:41 AM, Alexander Neundorf wrote: On Tuesday 02 August 2011, Hendrik Sattler wrote: If you use cmake 2.8.5, you can use GNUInstalldirs.cmake and let the user specify the multiarch directory to install in (or solve it once in that cmake module). You mean having the user adjust

Re: [CMake] Assembly language support using gcc or gas

2011-08-03 Thread Glenn Coombs
I tried changing from ASM to ASM-ATT and that fails like this: /usr/bin/as -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src/sysc/kernel -DNOMINMAX -DUSE_SIM_NAMESPACE -o CMakeFiles/systemc.dir/src/sysc/qt/md/i386.s.o

Re: [CMake] Include directories for C compile command

2011-08-03 Thread Glenn Coombs
Have you tried using the include_directories() command ? In your top level CMakeLists.txt add a line like this: include_directories(SWC1 SWC2 SWC3 Common) before you do any add_subdirectory() commands. Does that not add the appropriate -Ixxx flags to the compile command ? It does for me but

Re: [CMake] Assembly language support using gcc or gas

2011-08-03 Thread Alexander Neundorf
Hi, On Wednesday 03 August 2011, Glenn Coombs wrote: I tried changing from ASM to ASM-ATT and that fails like this: /usr/bin/as -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src -I/user/grc/msvdx-cvsfiles/sim/msvdx-cmake-2.8.5/systemC/src/sysc/kernel -DNOMINMAX

Re: [CMake] Include directories for C compile command

2011-08-03 Thread Andrei Buzgan
Hello Glenn and thanks, I found out yesterday the method you describe works. I was trying to use include_directories() before, but unfortunately the statement was after any add_directory() statement and it was a matter of scope (what other variable/property updates add_directory() does?). It

[cmake-developers] [CMake 0012385]: Dependencies of check_*_source_compiles are not tracked

2011-08-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12385 == Reported By:simonh Assigned To:

Re: [cmake-developers] Supporting imported targets in CHECK_CXX_SOURCE_COMPILES() and friends

2011-08-03 Thread Brad King
On 7/18/2011 4:13 PM, Alexander Neundorf wrote: Hi, in KDE we have a copy of CHECK_CXX_SOURCE_COMPILES() which supports imported targets in CMAKE_REQUIRED_LIBRARIES: http://websvn.kde.org/branches/KDE/4.5/kdelibs/cmake/modules/CheckCXXSourceCompiles.cmake?revision=1143427view=markup

Re: [cmake-developers] Adding MacroWriteBasicCMakeVersionFile.cmake file to cmake ?

2011-08-03 Thread Alexander Neundorf
On Monday 01 August 2011, Alexander Neundorf wrote: On Monday 01 August 2011, Brad King wrote: On 07/31/2011 04:09 PM, Alexander Neundorf wrote: I'm not sure which syntax I like better. The one with the macro feels more high-level, but maybe hides too much what is actually going on

Re: [cmake-developers] FindDevIL.cmake module looks for wrong header

2011-08-03 Thread Brad King
On 8/2/2011 4:41 PM, MiƂosz Kosobucki wrote: FindDevIL.cmake module seems to be looking for il.h header instead of IL/il.h. This way, user should be writing #includeil.h instead of #includeIL/il.h in his code. Note that the latter version is used with all examples in DevIL library. Also

[cmake-developers] [CMake 0012386]: A FindItstool module is missing

2011-08-03 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=12386 == Reported By:Nathan Samson Assigned To:

[Cmake-commits] CMake branch, next, updated. v2.8.5-1414-g6d765b7

2011-08-03 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 6d765b7d49fdba2b760c3b9da8e3b771aa735655 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1420-g09c6832

2011-08-03 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 09c68325ec9d68c4c4de366d524dba0dd027a742 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1423-g68f4277

2011-08-03 Thread Alexander Neundorf
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 68f42779d377e5e6a11c386d12c0de20ce904777 (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1425-g37f7336

2011-08-03 Thread Bill Hoffman
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 37f733655d38bae199003a9b7f7d70d5ea69162b (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.5-1427-g5b33b48

2011-08-03 Thread David Cole
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 5b33b48429b24279150e35e6ce2a632616b46ad8 (commit) via