Re: [CMake] ccmake was not created

2011-11-22 Thread Mikhail Artemiev
Hello! Thank you for the help. Here is a part of my CMakeCashe.txt: // --- //Path to a file. CURSES_CURSES_H_PATH:PATH=/usr/include //Path to a library. CURSES_CURSES_LIBRARY:FILEPATH=/usr/lib/libcurses.so //Path to a library. CURSES_EXTRA_L

[CMake] CMake and Python

2011-11-22 Thread Tim Gallagher
Hi all, I don't know if anybody would find this useful or not, but I thought I'd let everybody know about it and if somebody would like to use it, I can figure out the best way to get it out there. We have a fairly extensive python library that we use to setup our code and manipulate our data

Re: [CMake] CMake, Qt4, Ubuntu and Phonon

2011-11-22 Thread Clinton Stimpson
On Tuesday, November 22, 2011 02:34:55 pm Félix C. Morency wrote: > As we pointed out in the bug thread located at > > https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170 > > the FindPhonon script is not portable to Windows. I agree with André's > comment: the source of the problem is th

Re: [CMake] CMake, Qt4, Ubuntu and Phonon

2011-11-22 Thread Félix C . Morency
As we pointed out in the bug thread located at https://bugs.launchpad.net/ubuntu/+source/phonon/+bug/893170 the FindPhonon script is not portable to Windows. I agree with André's comment: the source of the problem is the Ubuntu way of distributing Qt4 and Phonon. We also have to keep in mind tha

[CMake] (no subject)

2011-11-22 Thread YangXi
http://nobiofuel.com/affiliate/plugins/SignupActionCommissions/smmfkro.htm -- 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 CMake FAQ

[CMake] what softwares need to be installed to run ITK/C++ under linux?

2011-11-22 Thread WangPing
Hi everyong: I wanted to learn C++ programming with ITK under linux, does any tell me what softwares/packages that I need to install? I am running a Centos 64-bit linux system. Thanks, ping wang -- Powered by www.kitware.com Visit other Kitware open-s

Re: [CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread NoRulez
> IIRC, no you don't Thanks This means that I only have to add the following parameters to my codesign call: "--entitlements MyEntitlements.plist" Is this correct? Because I already tried this but then if I launch my app the application crashes. The file MyEntitlements.plist contains:

Re: [CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread Sean McBride
On Tue, 22 Nov 2011 18:35:42 +0100, NoRulez said: >did you know if I also need special compiler and/or linker flags? That's more of an Xcode question than a CMake question... IIRC, no you don't. You just need to add your entitlements file and codesign. But it's been a few months since I playe

Re: [CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread NoRulez
Hi Sean, did you know if I also need special compiler and/or linker flags? Best Regards -Ursprüngliche Nachricht- Von: Sean McBride [mailto:s...@rogue-research.com] Gesendet: Dienstag, 22. November 2011 17:56 An: David Cole; NoRulez Cc: CMake MailingList Betreff: Re: [CMake] CMake and S

Re: [CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread Sean McBride
On Tue, 22 Nov 2011 11:45:29 -0500, David Cole said: >What are the requirements for a Sandboxed app? Is there a >documentation page from Apple that describes what needs to be in the >Info.plist to support Sandboxing? The main doc is here:

Re: [CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread David Cole
I have not heard of anybody building a Sandboxed app using CMake yet. What are the requirements for a Sandboxed app? Is there a documentation page from Apple that describes what needs to be in the Info.plist to support Sandboxing? Thx, David On Tue, Nov 22, 2011 at 10:44 AM, NoRulez wrote: >

Re: [CMake] cmake / xcode / c++ header files [solved]

2011-11-22 Thread g...@novadsp.com
excellent suggestion, i will try it out. thank! On 22/11/2011 14:29, Michael Jackson wrote: I have my own macro that I use for this: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES INSTALL_FILES) if (${INSTALL_FILES} EQUAL "1") INSTALL (FILES ${HEADERS}

[CMake] CMake and Sandboxed Mac OS X app

2011-11-22 Thread NoRulez
Hello @everyone, I want to use cmake and „make“ from the command line (without Xcode) to build an Mac OS X app which make use of the “new” sandboxing feature. I added the following lines, but in the activity monitor the app is still not sandboxed: IF(APPLE) SET_SOURCE_FILES_PROPERTIES

Re: [CMake] global variable vs cache variable

2011-11-22 Thread Michael Wild
On 11/22/2011 02:14 PM, t m wrote: >> Use the cache only if the values need to be persistent. Otherwise I >> recommend using a GLOBAL property. See set_property() and get_property(). >> >> Michael > > Thank you Michael. Looks good. So let me summarize. The workflow > should looks like follow: > >

Re: [CMake] cmake / xcode / c++ header files

2011-11-22 Thread Michael Jackson
I have my own macro that I use for this: MACRO (cmp_IDE_SOURCE_PROPERTIES SOURCE_PATH HEADERS SOURCES INSTALL_FILES) if (${INSTALL_FILES} EQUAL "1") INSTALL (FILES ${HEADERS} DESTINATION include/${SOURCE_PATH} COMPONENT Headers )

Re: [CMake] VC2010 Express crashing

2011-11-22 Thread Vladislav Vaintroub
From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Robert Dailey Sent: Dienstag, 22. November 2011 14:33 To: David Cole Cc: CMake ML Subject: Re: [CMake] VC2010 Express crashing No problem. I'll send a crash report to MS and see what I can figure out. I assume I need to

[CMake] cmake / xcode / c++ header files

2011-11-22 Thread g...@novadsp.com
How can I get the cmake xcode generator to add a /include folder to generated projects? The cmakelists contain these directives: SET(${this_target}_HEADER_FILES ./a.h ./b.h) SET_SOURCE_FILES_PROPERTIES(${this_target}_HEADER_FILES PROPERTIES HEADER_FILE_ONLY TRUE) LIST(APPEND ${this_target}_SOU

Re: [CMake] VC2010 Express crashing

2011-11-22 Thread Robert Dailey
No problem. I'll send a crash report to MS and see what I can figure out. I assume I need to report the crash on the MSDN forums? Never reported a MS bug before so not sure. Thanks for the help everyone. - Robert Dailey On Tue, Nov 22, 2011 at 6:52 AM, David Cole wrote: > I'm sorry if

Re: [CMake] global variable vs cache variable

2011-11-22 Thread t m
> Use the cache only if the values need to be persistent. Otherwise I > recommend using a GLOBAL property. See set_property() and get_property(). > > Michael Thank you Michael. Looks good. So let me summarize. The workflow should looks like follow: 1. Top Level CMakeLists.txt: add_subdirectory(

Re: [CMake] VC2010 Express crashing

2011-11-22 Thread David Cole
I'm sorry if that sounded flippant... but I'm 100% serious. I used to work there, and they take the crash reports very seriously, and they actually do get the majority of them fixed eventually. But if you don't send them in, then they don't know about them. Also: I've simply never heard this compl

Re: [CMake] Xcode: Nested Xcode Projects

2011-11-22 Thread Daniel Dekkers
Hi, CMake doesn't support Xcode "workspaces" like it does Visual Studio "solutions". But you can still define multiple PROJECT()'s that will all be visible and buildable (via the scheme selector) in the IDE. In our setup, we have a bunch of apps and a library, in the top level CMakeLists.txt we

[CMake] Xcode: Nested Xcode Projects

2011-11-22 Thread Matthias Dörfelt
Hi, I am currently generating sub projects with cmake using the add_subdirectory command together with the Xcode generator. It works, but the top level Xcode project includes the sources and targets of all the sub projects. Is it possible to make it reference the actual Xcode sub projects inste

Re: [CMake] global variable vs cache variable

2011-11-22 Thread Michael Wild
On 11/22/2011 11:51 AM, t m wrote: > Hi Community, > > I could not found any other possibilites to set some global variable > than using a cache variable. Even if this is not nice sometimes you > need to have a global variable. > So I would like to ask about advice in this area: > > 1) Is this th

Re: [CMake] Clen-up pre-built software

2011-11-22 Thread Hendrik Sattler
Am 22.11.2011 11:42, schrieb t m: Hi Community, In the large project we a having periodic taks which build a couple of projects and store the result of the build in one specific place. Once it's build the rest of the team can use this artifacts becouse those are exported by using of export(TAR

[CMake] global variable vs cache variable

2011-11-22 Thread t m
Hi Community, I could not found any other possibilites to set some global variable than using a cache variable. Even if this is not nice sometimes you need to have a global variable. So I would like to ask about advice in this area: 1) Is this the real use case for cache, so to use it as a globa

[CMake] Clen-up pre-built software

2011-11-22 Thread t m
Hi Community, In the large project we a having periodic taks which build a couple of projects and store the result of the build in one specific place. Once it's build the rest of the team can use this artifacts becouse those are exported by using of export(TARGETS ...) Since the others refer only

[CMake] Components in DMG but outside OSX Application Bundle

2011-11-22 Thread Florian Wobbe
Hi, I'm trying to create an OSX Application Bundle but like to include the documentation in a separate directory outside the app bundle but still in the dmg. Currently cpack installs all components into the app (CPACK_BUNDLE_COMPONENT_INSTALL ignored). Now for this to work I guess I would have

Re: [CMake] ccmake was not created

2011-11-22 Thread Michael Wild
On 11/22/2011 10:58 AM, Mikhail Artemiev wrote: >> In your bootstrap log, do you see something like the following? >> Curses libraries were not found. Curses GUI for CMake will not be built. > > Yes. But I don't understand. The curses library was installed. > My LD_LIBRARY_PATH is > $>echo $LD_LIB

Re: [CMake] ccmake was not created

2011-11-22 Thread Mikhail Artemiev
In your bootstrap log, do you see something like the following? Curses libraries were not found. Curses GUI for CMake will not be built. Yes. But I don't understand. The curses library was installed. My LD_LIBRARY_PATH is $>echo $LD_LIBRARY_PATH /usr/lib What's wrong? Mikhail -- Powered by ww

Re: [CMake] ccmake was not created

2011-11-22 Thread Michael Wild
On 11/22/2011 09:28 AM, Mikhail Artemiev wrote: > I don't see a BUILD_CursesDialog entry in my CMakeCache.txt file.But a > CURSES_NCURSES_LIBRARY entry exists, and it point to > /usr/lib/libncurses.so (which exists too).When I try to add a string > BUILD_CursesDialog:BOOL=ON intoCMakeCache.txt by h

Re: [CMake] VC2010 Express crashing

2011-11-22 Thread Andreas Pakulat
On 21.11.11 17:37:14, Robert Dailey wrote: > On Mon, Nov 21, 2011 at 5:32 PM, John Drescher wrote: > > > > Yes it is 100% reproducible. > > > I don't know if telling someone to send reports to Microsoft and have > > them > > > fix the problem is the most reasonable solution. > > > > > > > Isn't i