Re: [CMake] CCTray like tool for CDash?

2012-04-17 Thread norulez
Yes, it is a notification client for cruise control to get information from the build server without opening a web browser every time. You could also manage projects on the build server. It is a small app which runs as a system tray to show the status of the builds. Best Regards NoRulez Am 17.

Re: [CMake] CMake 2.8.8-RC2 with Mac OS X 10.7.3 Xcode 4.3.2

2012-04-17 Thread Gary Little
You read my mind Michael. When I run Xcodebuild on the project and then look at the arguments passed for the compile of the failing file, there is never a "-I /user/include" switch in the command line. In Windows I'd be setting it in either the INCLUDE environment variable, or setting the includ

[CMake] CMake Ninja generator issues: any showstoppers?

2012-04-17 Thread Alexander Usov
13069 looks reasonably serious, but I won't consider it a show-stopper. It's relatively easy to work around. -- Best regards, Alexander. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic

Re: [CMake] CMake Ninja generator issues: any showstoppers?

2012-04-17 Thread Clifford Yapp
On Tue, Apr 17, 2012 at 4:59 PM, David Cole wrote: > Hello CMake Ninja fans, > > We are going to be creating the CMake 2.8.8 final release tomorrow. However, > there are issues reported for the ninja generator. Does anybody consider > them "showstoppers" ?? David, Does the latest CMake 2.8.8 sou

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
Hi, Maybe i can try to reexplain, from head, ignore syntactic errors and oversimplifying... ** /sources/cmakelist.txt /sources/binaries/helloworld ..cmakelists.txt /sources/binaries/hellocmake ..cmakelists.txt /sources/libraries

Re: [CMake] CMake 2.8.8-RC2 with Mac OS X 10.7.3 Xcode 4.3.2

2012-04-17 Thread Michael Jackson
You may want to take a very detailed look at the command line arguments that Xcode is passing to the compiler. There you can pick apart all the include paths that are being passed to the compiler and you will probably find that /usr/include/boost is missing. Why it is missing is still unknown bu

[CMake] CMake Ninja generator issues: any showstoppers?

2012-04-17 Thread David Cole
Hello CMake Ninja fans, We are going to be creating the CMake 2.8.8 final release tomorrow. However, there are issues reported for the ninja generator. Does anybody consider them "showstoppers" ?? (I do not, but want a sanity check from the community -- we will get bug fixes into master and availa

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
I don't know how you'd ever maintain a sane overall project if it depends on each subdirectory having conflicting compiler flags. Well here is the fun, there is not something like "you", we are taling about over 100 developers and if everyone is handling his own garden, this is not a problem.

Re: [CMake] CMake 2.8.8-RC2 with Mac OS X 10.7.3 Xcode 4.3.2

2012-04-17 Thread Gary Little
After beating my head against this brick wall for over a week I'm becoming convinced that the problem is neither with CMake nor with Boost. If I build the project as a Unix project or as a Visual Studio/nmake project, the created projects build fine whether it is for Linux, Darwin, or Windows. H

[CMake] Using two sets of compiler flags in same build

2012-04-17 Thread André Caron
Hi all, I've posted this issue on StackOverflow[1] and have not yet received a suitable response, so I thought I'd ask here instead. Basically, I need to have a single build that uses two sets of compiler flags.  One set is used to build native windows applications, and the other to build a manag

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread Kent Williams
I think then that you shouldn't use add_subdirectory. I'd suggest using the ExternalProject module in this case, because it uncouples the subdirectory's project from the parent project. In that case, each subdirectory can be its own project and maintain private configurations. You can manage dep

[CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
Oh, hi :) Well, the add_subdirectory takes all the preprocessor defines and include/library paths defined before calling it into the added "subdirectory" cmakelists.txt. If cmakelists.txt A defines -DWhatever and calls add_subdirectory(/B) where the cmakelists.txt for building library B resi

[CMake] CMake 2.8.8 is coming soon

2012-04-17 Thread David Cole
Hi all, We plan to build and upload the CMake 2.8.8 release this week, and have scheduled a short webinar about the features in the new release for next Tuesday, April 24, 2012 at 1:15 pm Eastern time. Register for it here if you're interested: https://www3.gotomeeting.com/register/847839390

Re: [CMake] CCTray like tool for CDash?

2012-04-17 Thread Eric Noulard
2012/4/17 Alexander Neundorf : > On Monday 16 April 2012, NoRulez wrote: >> Hello, >> >> is there a tool for CDash which is equivalent to CCTray for Cruise Control >> or is such tool planned? > > what is CCTray ? seems to be a notification application for continuous integration system: http://ccn

Re: [CMake] CCTray like tool for CDash?

2012-04-17 Thread Alexander Neundorf
On Monday 16 April 2012, NoRulez wrote: > Hello, > > is there a tool for CDash which is equivalent to CCTray for Cruise Control > or is such tool planned? what is CCTray ? Alex -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensou

Re: [CMake] How to debug a CMake script?

2012-04-17 Thread Robert Dailey
AFAIK, there is no interactive debugger for CMake scripts. You are doing exactly what I do. I use the message() command frequently to output variable values and test code flow. It's really the only way, unfortunately. On Sun, Apr 15, 2012 at 11:04 AM, Christoph Grüninger < christoph.gruenin...@iws

[CMake] How to find MinGW static library in Windows?

2012-04-17 Thread Vyacheslav Karamov
Hi All! I have some MinGW static libraries and I need to use them in VS2008 project which is generated by CMake. if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") set(CMAKE_FIND_LIBRARY_PREFIXES ${CMAKE_FIND_LIBRARY_PREFIXES} lib) set(CMAKE_FIND_LIBRARY_SUFFIXES ".a" ${CMAKE_FIND_LIBRARY_SUFFIXES

Re: [CMake] add_subdirectory inheritance

2012-04-17 Thread Kent Williams
Frankly, I don't entirely understand what the problem is, or what your proposed solution is. What is it that you don't want the subdirectory context to inherit? On Tue, Apr 17, 2012 at 10:30 AM, irukandji wrote: > Hi, > > (as no one answered to my previous email, let me add this: multiplatform >

[CMake] add_subdirectory inheritance

2012-04-17 Thread irukandji
Hi, (as no one answered to my previous email, let me add this: multiplatform project with few million lines of code, sheer size of the project is not allowing to turn around whole directory tree as price / performance is a very relevant factor and even rewriting makefiles/vcprojs to cmake will

Re: [CMake] find_library in Windows(SOLVED)

2012-04-17 Thread Vyacheslav Karamov
I'm happy. It works! target_link_libraries(${lib_name} debug ${do_scoring_debug} debug ${spinx_debug} optimized ${do_scoring} optimized ${spinx} ) 17.04.2012 14:59, Vyacheslav Karamov написал: When I specified full library name with extension find_library worked. But still have both debug and r

Re: [CMake] find_library in Windows

2012-04-17 Thread Vyacheslav Karamov
When I specified full library name with extension find_library worked. But still have both debug and release versions of library being linked with my target. 17.04.2012 12:13, Vyacheslav Karamov написал: This code doesn't work also: if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") find_library(

Re: [CMake] find_library in Windows

2012-04-17 Thread Vyacheslav Karamov
This code doesn't work also: if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") find_library(spinx NAME sphinxbase HINTS "${CMAKE_CURRENT_SOURCE_DIR}/../../Sphinx/sphinxbase/bin/Release" DOC "SphinX release library" ) find_library(spinx_debug NAME sphinxbased PATHS ${CMAKE_CURRENT_SOURCE_DIR}/../../S

Re: [CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows

2012-04-17 Thread Vyacheslav Karamov
Yes I do. 17.04.2012 11:49, Rolf Eike Beer написал: It also doesn't work set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_DEBUG "USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_USE_32BIT_TIME_T") set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_RELEASE "USE_MP3READER2;DLL_EXPORTS;_U

Re: [CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows

2012-04-17 Thread Rolf Eike Beer
> It also doesn't work > > set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_DEBUG > "USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_USE_32BIT_TIME_T") > > set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_RELEASE > "USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_USE_32BIT_T

[CMake] find_library in Windows

2012-04-17 Thread Vyacheslav Karamov
Hi All! I have a problem with find_library in Windows. It does find static library, but not import library. It's confusing to me. if (${CMAKE_SYSTEM_NAME} STREQUAL "Windows") find_library(spinx NAMES sphinxbase ${CMAKE_CURRENT_SOURCE_DIR}/../../Sphinx/sphinxbase/bin/Release ) fin

Re: [CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows(SOLVED)

2012-04-17 Thread Vyacheslav Karamov
But this if (WIN32) set_property(TARGET ${lib_name} PROPERTY COMPILE_DEFINITIONS_DEBUG USE_MP3READER2 DLL_EXPORTS _USRDLL _CRT_SECURE_NO_WARNINGS _USE_32BIT_TIME_T) set_property(TARGET ${lib_name} PROPERTY COMPILE_DEFINITIONS_RELEASE USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_U

Re: [CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows

2012-04-17 Thread Vyacheslav Karamov
It also doesn't work set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_DEBUG "USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_USE_32BIT_TIME_T") set_property(GLOBAL PROPERTY COMPILE_DEFINITIONS_RELEASE "USE_MP3READER2;DLL_EXPORTS;_USRDLL;_CRT_SECURE_NO_WARNINGS;_USE_32BIT_TIME_T")

Re: [CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows

2012-04-17 Thread Rolf Eike Beer
> Hi All! > > I need to add some preprocessor definitions to my target. > Here is the code: > > if (WIN32) > set (COMPILE_DEFINITIONS_Debug > _DEBUG > USE_MP3READER2 > _EXPORTS > _USRDLL > _CRT_SECURE_NO_WARNINGS > _USE_32BIT_TIME_T > ) > > set (COMPILE_

[CMake] COMPILE_DEFINITIONS_Debug doesn't work in Windows

2012-04-17 Thread Vyacheslav Karamov
Hi All! I need to add some preprocessor definitions to my target. Here is the code: if (WIN32) set (COMPILE_DEFINITIONS_Debug _DEBUG USE_MP3READER2 _EXPORTS _USRDLL _CRT_SECURE_NO_WARNINGS _USE_32BIT_TIME_T ) set (COMPILE_DEFINITIONS_Release NDEBUG US