[cmake-developers] [CMake 0011897]: missed VCReportError in generated solutions for VS9

2011-02-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=11897 == Reported By:abcdenis Assigned To:

[cmake-developers] [CMake 0011898]: xcode projects compile objective-c++ files as objective-c

2011-02-25 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=11898 == Reported By:tim blechmann Assigned To:

Re: [CMake] How too set properties on all executables

2011-02-25 Thread Yuri Timenkov
Is changing global compiler/linker flags for all executables an option? When you enable show advanced options in CMake, you should see them as CMAKE_EXE_LINKER_FLAGS_CONFIG. Also, if you want to set them initially by your build system, use set(CMAKE_USER_MAKE_RULES_OVERRIDE MyInitialFlags)

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Thomas Wolf
Sure, the find_program() call in FindQt4.cmake has registry keys first, but if you look at the docs for find_program(), all of those paths are looked at last. The CMAKE_PREFIX_PATH and PATH variables have a higher priority, and you can set those to control which Qt you want found.

[CMake] target_link_libraries not working with add_library

2011-02-25 Thread Felipe Ferreri Tonello
Guys, I'm doing this: add_library(lib_base ${sources}) target_link_libraries(lib_base ${libs}) but look at the linker output: /usr/bin/ar cr liblib_base.a CMakeFiles/lib_base.dir/diskman.cpp.o CMakeFiles/lib_base.dir/netutils.cpp.o CMakeFiles/lib_base.dir/base.cpp.o

Re: [CMake] target_link_libraries not working with add_library

2011-02-25 Thread Michael Wild
On 02/25/2011 01:48 PM, Felipe Ferreri Tonello wrote: Guys, I'm doing this: add_library(lib_base ${sources}) target_link_libraries(lib_base ${libs}) but look at the linker output: /usr/bin/ar cr liblib_base.a CMakeFiles/lib_base.dir/diskman.cpp.o CMakeFiles/lib_base.dir/netutils.cpp.o

[CMake] Cmake + Cosmic Compiler

2011-02-25 Thread MS
Hi Does anybodyknow whether it would be possible to use cross compiler Cosmic Compiler together with CMake under Windows? Cosmic consists of compiler(cxs12x.exe), xgate compiler(cxxgate.exe), linker(clnk.exe). XGATE is another processor within one integrated circuit. So the build process

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Thomas Wolf
follow up: with an additional: set( QT_INCLUDE_DIR $ENV{QTDIR}/include ) set( QT_HEADERS_DIR $ENV{QTDIR}/include ) set( QT_LIBRARY_DIR $ENV{QTDIR}/lib ) set( QT_BINARY_DIR $ENV{QTDIR}/bin ) set( QT_LIBRARY_DIR_TMP

Re: [CMake] Cmake + Cosmic Compiler

2011-02-25 Thread Alexander Neundorf
On Friday 25 February 2011, MS wrote: Hi Does anybodyknow whether it would be possible to use cross compiler Cosmic Compiler together with CMake under Windows? Cosmic consists of compiler(cxs12x.exe), xgate compiler(cxxgate.exe), linker(clnk.exe). XGATE is another processor within one

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread David Cole
Just: set( QT_QMAKE_EXECUTABLE ${QT_BINARY_DIR}/qmake.exe ) should be sufficient here. Everything else that FindQt does switches off of the qmake setting... If you change the qmake executable, all the other variables will adapt correctly. On Fri, Feb 25, 2011 at 10:21 AM, Thomas Wolf

Re: [CMake] cpack issue: %1 is not a valid Win32 application

2011-02-25 Thread thehighhat
Interesting, Is the NSIS application used a 32bits or 64bits one? 32 bit. ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the

Re: [CMake] Override find_package path for qt / multiarchitecture build windows 64 and windows 32

2011-02-25 Thread Clinton Stimpson
Yeah, that works too. I thought it would be nice to encourage CMAKE_PREFIX_PATH which should work with any cmake find module. I was easily able to control which Qt was found by modifying myqt below #file(TO_CMAKE_PATH $ENV{USERPROFILE}/qt/qt-4.5.2-2008-64 myqt) file(TO_CMAKE_PATH

Re: [CMake] Default visual studio filters

2011-02-25 Thread Aaron_Wright
I was curious about an answer to this question. I don't think source and header files should be separated either. It's just a nag, but if there was an easy fix, I'd jump on it. --- Aaron Wright From: Orcun Gokbulut mador...@gmail.com To: cmake@cmake.org Date: 02/23/2011 07:48 AM

Re: [CMake] How too set properties on all executables

2011-02-25 Thread Hanna Symanska
Thank you both, i will try these! On Fri, Feb 25, 2011 at 3:08 AM, Yuri Timenkov y...@timenkov.ru wrote: Is changing global compiler/linker flags for all executables an option? When you enable show advanced options in CMake, you should see them as CMAKE_EXE_LINKER_FLAGS_CONFIG. Also, if you

Re: [CMake] Default visual studio filters

2011-02-25 Thread Michael Jackson
I have the following macro that I use: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES) STRING(REPLACE / source_group_path ${SOURCE_PATH} ) source_group(${source_group_path} FILES ${HEADERS} ${SOURCES}) ENDMACRO (cmp_IDE_SOURCE_PROPERTIES NAME HEADERS SOURCES

Re: [CMake] Default visual studio filters

2011-02-25 Thread Aaron_Wright
Yeah, actually. I didn't think it would be that easy. Thanks. --- Aaron Wright From: Michael Jackson mike.jack...@bluequartz.net To: aaron_wri...@selinc.com Cc: cmake@cmake.org Date: 02/25/2011 09:58 AM Subject:Re: [CMake] Default visual studio filters I have the

[CMake] FindThreads - CMAKE_USE_PTHREADS_INIT not being set properly

2011-02-25 Thread William Clifford
Not sure if this is an issue that was corrected, as I am working with cmake 2.8.1, but I'm having some issues with FindThreads. I know that pthreads is installed on the system. If I use: # snip --- snip --- snip --- snip include ( CheckIncludeFiles ) include ( CheckLibraryExists )

Re: [CMake] Default visual studio filters

2011-02-25 Thread Yuri Timenkov
Also you could employ SOURCES property of target to get list of files to eliminate the need of passing them to macro explicitly. On Fri, Feb 25, 2011 at 8:58 PM, Michael Jackson mike.jack...@bluequartz.net wrote: I have the following macro that I use: MACRO (cmp_IDE_SOURCE_PROPERTIES

[Cmake-commits] CMake branch, next, updated. v2.8.4-1023-g7a8a14e

2011-02-25 Thread Eric Noulard
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 7a8a14e70c4e7b449a558dfd7f7291101528512c (commit) via

[Cmake-commits] CMake branch, next, updated. v2.8.4-1025-g5d2ec1a

2011-02-25 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 5d2ec1a85586b82c59646579440daf9d51e4032d (commit) via

[Cmake-commits] CMake branch, master, updated. v2.8.4-98-g2f690ab

2011-02-25 Thread KWSys Robot
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, master has been updated via 2f690ab8cb1f5d8e47fa10da52733405147d74be (commit) from