[cmake-developers] Namespaces

2016-01-28 Thread Pau Garcia i Quiles
. instead of BUILD_SHARED it would now be QTZEROCONF_BUILD_SHARED. Or, as an alternative: add_subdirectory QtZeroConf NAMESPACE QtZeroConf) and variables would be prefixed by QtZeroConf::, e. g. BUILD_SHARED would now be QtZeroConf::BUILD_SHARED. Does that sound sensible? -- Pau Garcia i

Re: [cmake-developers] Namespaces

2016-01-28 Thread Pau Garcia i Quiles
think in addition to add_subdirectory( ... NAMESPACE ... ), there should be something like find_package( QtZeroConf EXTERNAL_PROJECT QtZeroConf), indicating the package is built by means of ExternalProject and therefore, finding the package should be delayed until after that external project ha

Re: [cmake-developers] Namespaces

2016-01-28 Thread Pau Garcia i Quiles
tural way: tell CMake to build my dependencies, then immediately work on my applications/libraries :-( I would love to work on this, as Stephen suggested, but I just don't have the time :-/ -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) --

Re: [cmake-developers] Namespaces

2016-01-28 Thread Pau Garcia i Quiles
On Thu, Jan 28, 2016 at 8:21 PM, Stephen Kelly <steve...@gmail.com> wrote: Pau Garcia i Quiles wrote: > > > CMake should wrap every variable defined under the directory added with > > add_subdirectory(QtZeroConf NAMESPACE QTZEROCONF) > > So, CMake needs to first determ

Re: [cmake-developers] Namespaces

2016-01-28 Thread Pau Garcia i Quiles
ch would likely > work for BUILD_SHARED_LIBS or ENABLE_TESTING). > > Unfortunately, using INTERNAL cache variables requires me to modify the third-party library, which is exactly what I do not want to do. I want to be able to drop the third-party in a folder, add_subdirectory and form then on,

Re: [cmake-developers] CMake alternative language (was: Using CMake as a library from Python)

2016-01-11 Thread Pau Garcia i Quiles
cript/ Also, declarative? Why? There are already a few declarative build systems (e. g. qbs, one of the reasons for its existence was CMake was not declarative). By moving CMake from the current procedural scripting to a declarative approach, you may alienate your current user base and be good for none any

Re: [CMake] Are the poor reviews of Mastering CMake Justified?

2015-12-21 Thread Pau Garcia i Quiles
"here, type this > in" which is what a lot of the web stuff seems to be. A sketch of how it > works conceptually would help me. (Of course, I need examples too.) > > It's old but it still gets a few hundreds downloads a month: http://www.elpauer.org/stuff/learning_cmake.pdf -

[CMake] FOSDEM Desktops DevRoom 2016: Call for Participation

2015-11-02 Thread Pau Garcia i Quiles
@lists.fosdem.org. Use this page to manage your subscription: https://lists.fosdem.org/listinfo/desktops-devroom Organization The Desktops DevRoom 2016 is managed by a team representing the most notable open desktops: - Pau Garcia i Quiles, KDE - Christophe Fergeau, Gnome - Michael Zane

Re: [CMake] Creating relocatable packages

2015-10-19 Thread Pau Garcia i Quiles
sulting: http://cmake.org/cmake/help/consulting.html >>> CMake Training Courses: http://cmake.org/cmake/help/training.html >>> >>> Visit other Kitware open-source projects at >>> http://www.kitware.com/opensource/opensource.html >>> >>> Follow th

Re: [CMake] Creating relocatable packages

2015-10-19 Thread Pau Garcia i Quiles
;>> Please keep messages on-topic and check the CMake FAQ at: >>>>> http://www.cmake.org/Wiki/CMake_FAQ >>>>> >>>>> Kitware offers various services to support the CMake community. For >>>>> more information on each offering, please visit: >&g

Re: [CMake] Creating relocatable packages

2015-10-19 Thread Pau Garcia i Quiles
dependencies so it wouldn't suffer from the > absolute path issue I'm encountering. > On Oct 19, 2015 5:36 PM, "Pau Garcia i Quiles" <pgqui...@elpauer.org> > wrote: > >> Hi Dan, >> >> On a second read, it seems Zac's problem was actually finding the >>

Re: [CMake] C++11 flag not being added

2015-10-16 Thread Pau Garcia i Quiles
gt;> >>> > >> >>> -- > >> >>> > >> >>> Powered by www.kitware.com > >> >>> > >> >>> Please keep messages on-topic and check the CMake FAQ at: > >> >>> http://www.cmake.org/Wiki/C

Re: [CMake] Port from Debian to Windows: Include files not found

2015-09-18 Thread Pau Garcia i Quiles
; CMake Training Courses: http://cmake.org/cmake/help/training.html > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Pau Garcia i

Re: [CMake] Need help with COMPILE_DEFINITIONS_

2015-09-14 Thread Pau Garcia i Quiles
; > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Follow this link to subscribe/unsubscribe: > http://public.kitware.com/mailman/listinfo/cmake > -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may nee

[CMake] FOSDEM 2015 Desktops DevRoom Call for Talks

2014-10-27 Thread Pau Garcia i Quiles
DevRoom 2015 Organization Team --8--- -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services

Re: [CMake] patch on Windows

2014-01-12 Thread Pau Garcia i Quiles
in every patch (unix2dos is your friend). -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various

Re: [CMake] Compile C files with C++

2013-12-05 Thread Pau Garcia i Quiles
projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep

Re: [cmake-developers] ExternalProject EXTRACT_COMMAND (was: New feature, git access)

2013-11-27 Thread Pau Garcia i Quiles
didn't look any further O:-) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) epa-extract-command-20131127-1031.patch Description: Binary data -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

[cmake-developers] New feature, git access

2013-11-25 Thread Pau Garcia i Quiles
... in http://www.cmake.org/Wiki/CMake/Git/Account#Git (who would know I need an invitation!? where should I request such an invite?) Please tell me if I need to do something more to get access to the staging area of git://cmake.org. Thank you -- Pau Garcia i Quiles http://www.elpauer.org (Due to my

Re: [CMake] can non cmake projects be added by externalproject_add?

2013-11-12 Thread Pau Garcia i Quiles
at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep messages

[CMake] FOSDEM 2014 Desktops DevRoom Call for Talks

2013-10-29 Thread Pau Garcia i Quiles
://lists.fosdem.org/listinfo/desktops-devroom ) – The Desktops DevRoom 2014 Organization Team --8--- -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org

Re: [CMake] ExternalProject_Add examples

2013-10-27 Thread Pau Garcia i Quiles
at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Please keep messages

Re: [CMake] ExternalProject_Add examples

2013-10-24 Thread Pau Garcia i Quiles
of CMakeLists.txt is not easy if they are not in the top-level CMakeLists.txt and they are not there. My dependencies are gtest - Cmake glog - Cmake tbb - configure make vigra - Cmkae based soci - Cmake based pwiz -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days

Re: [cmake-developers] Roadmap to CMake 3.0

2013-10-14 Thread Pau Garcia i Quiles
lengths appear in the content. This is commonly known as here document http://en.wikipedia.org/wiki/Here_document -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Detecting libgcc_s_variant in MinGW 32 64.

2013-10-13 Thread Pau Garcia i Quiles
/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [cmake-developers] CPack: 7-zip generator

2013-10-11 Thread Pau Garcia i Quiles
On Fri, Oct 11, 2013 at 5:40 PM, Alexander Neundorf neund...@kde.orgwrote: The thread looks somewhat unfinished, and Ralf simply didn't seem to reply anymore, it would have needed just some more pushing to get it in. What kind of pushing? Code polishing? Documentation? Tests? -- Pau Garcia

[cmake-developers] CPack: 7-zip generator

2013-10-10 Thread Pau Garcia i Quiles
vs ZIP makes a 3.5 to 1 difference in compressed size. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] Empty CPack variables

2013-10-06 Thread Pau Garcia i Quiles
and the file is generated as ---.zip / ---.exe. Am I doing something wrong? (I want to add a couple more variables in the CPACK_PACKAGE_FILE_NAME variable to specify compiler and compiler version, that's why I'm composing CPACK_PACKAGE_FILE_NAME) Thank you -- Pau Garcia i Quiles http://www.elpauer.org

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-11 Thread Pau Garcia i Quiles
/mailman/listinfo/cmake-developers -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- 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

Re: [cmake-developers] Unexpected bad status for file DOWNLOAD for http://*.xz URLs

2013-07-11 Thread Pau Garcia i Quiles
) On Fri, Jul 12, 2013 at 1:48 AM, Pau Garcia i Quiles pgqui...@elpauer.orgwrote: Hello, Related to this, I implemented an EXTRACT_COMMAND option to ExternalProject_Add which would enable to download anything, provided that an EXTRACT_COMMAND is also passed so that CMake knows how

Re: [CMake] How to embed Qt resources using CMake

2013-07-09 Thread Pau Garcia i Quiles
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered

Re: [CMake] How to embed Qt resources using CMake

2013-07-08 Thread Pau Garcia i Quiles
://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I

Re: [CMake] How to embed Qt resources using CMake

2013-07-08 Thread Pau Garcia i Quiles
messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com

Re: [CMake] How to embed Qt resources using CMake

2013-07-08 Thread Pau Garcia i Quiles
-- main.cpp Is it okay? What should be the CMakeLists(1|2).txt in this case? Júlio. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

[CMake] ExternalProject .exe

2013-05-05 Thread Pau Garcia i Quiles
seems to be the only alternative and I don't really like it :-? Thank you -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
library (.tlb), then combine it with the executable. Amb maybe even one that combines those three in one, which will be what people usually do. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open

Re: [CMake] ActiveQt with CMake?

2012-12-05 Thread Pau Garcia i Quiles
, too. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- 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 at: http

[CMake] Reminder: FOSDEM CrossDesktop DevRoom 2013 - Call for Talks

2012-11-29 Thread Pau Garcia i Quiles
for the mailing list: https://lists.fosdem.org/listinfo/crossdesktop-devroom ) -- The CrossDesktop DevRoom 2013 Organization Team* --8--- -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open

Re: [CMake] cmake tutorial in pdf

2012-11-16 Thread Pau Garcia i Quiles
On Fri, Nov 16, 2012 at 7:33 PM, Érico erico...@gmail.com wrote: is there a cmake tutorial in pdf so we can print ? Mine is a bit old, but still relevant: http://www.elpauer.org/stuff/learning_cmake.pdf -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days

[cmake-developers] FOSDEM CrossDesktop DevRoom 2013 - Call for Talks

2012-10-31 Thread Pau Garcia i Quiles
--- -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- 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 at: http://www.cmake.org

Re: [cmake-developers] visual studio usage

2012-06-08 Thread Pau Garcia i Quiles
file, then I made a cmakelists that does the same thing, so I have one cmakelists.txt which builds all other top level cmakelists. cmake -DCMAKE_MAKE_PROGRAM=msbuild . ? Sometimes that will fail due to the different way msbuild and devenv compute project dependencies. -- Pau Garcia i

[CMake] C#/.NET

2012-05-09 Thread Pau Garcia i Quiles
Hi, Is anyone using CMake for C#/.NET projects? We are looking to moving from Visual Studio solutions/projects to a proper build system and CMake would be my preferred choice. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered

Re: [CMake] C#/.NET

2012-05-09 Thread Pau Garcia i Quiles
...) Cheers ( good luck ), David On Wed, May 9, 2012 at 11:04 AM, Mathieu Malaterre mathieu.malate...@gmail.com wrote: Hi, On Wed, May 9, 2012 at 11:19 AM, Pau Garcia i Quiles pgqui...@elpauer.org wrote: Is anyone using CMake for C#/.NET projects? We are looking to moving from Visual

Re: [CMake] ExternalProject_Add examples

2012-03-17 Thread Pau Garcia i Quiles
-- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- 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 at: http://www.cmake.org

Re: [CMake] FTP client in CMake?

2011-12-29 Thread Pau Garcia i Quiles
CMAKE_COMMAND to invoke CMake.exe from within a cmake script to download the files from that FTP server. Is it possible to add this functionality? Could anyone recommend a workaround? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered

Re: [CMake] Compile project as C++ if MSVC

2011-12-24 Thread Pau Garcia i Quiles
to enable the c++ language.  You can call enable_language(CXX) inside the if. You are right. That solves the issue, thank you. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Pau Garcia i Quiles
features: mixing declarations and code, snprintf, inline functions, more data types, etc -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Pau Garcia i Quiles
project as C++ to get the C99 features that are both in C99 and in C++. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] Compile project as C++ if MSVC

2011-12-23 Thread Pau Garcia i Quiles
way to do this is with the set_source_files_properties command: set_source_files_properties(SRC PROPERTIES LANGUAGE CXX) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] Compile project as C++ if MSVC

2011-12-22 Thread Pau Garcia i Quiles
can't do if(MSVC) before project()) and I cannot find a target property to say compile as language CXX Thank you -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Platform Finding modules

2011-11-29 Thread Pau Garcia i Quiles
to set something according to the actual platform, like which compilation unit to build (like the relevant standalone only for that given platform) and so on. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- Powered by www.kitware.com Visit

Re: [CMake] Don't export symbols but the one I want

2011-11-23 Thread Pau Garcia i Quiles
thousand of #ifdef #endif in C files? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) -- 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-developers] slow regex implementation in RegularExpression

2011-11-15 Thread Pau Garcia i Quiles
Hoffman wrote: On 11/14/2011 6:08 PM, Pau Garcia i Quiles wrote: Bill, I think the current incarnation of regexps in CMake should be kept for compatibility reasons. Yes, of course. Adding PCRE is not difficult, just time consuming. The implementation I'd do would be an additional

Re: [cmake-developers] slow regex implementation in RegularExpression

2011-11-14 Thread Pau Garcia i Quiles
the problem? -Bill On 11/14/2011 1:13 PM, Pau Garcia i Quiles wrote: Hi, Check this: A wish a day 11: Perl Compatible Regular Expressions in CMake http://www.elpauer.org/?p=684 Unfortunately the student turned out to be a total fraud: he knew nothing about CMake, regular expressions (much

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Pau Garcia i Quiles
__**_ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-**bin/mailman/listinfo/cmake-**developershttp://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10

Re: [cmake-developers] rc compiler on windows mingw

2011-09-22 Thread Pau Garcia i Quiles
an incompatible combination of make, gcc, ld and windres. In this case, most likely we need to do a different association here... gcc - windres cl - rc.exe And not depend on the build tool. I agree -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] Release of new Debian Source Package Generator

2011-06-12 Thread Pau Garcia i Quiles
the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered

[cmake-developers] PCRE

2011-05-15 Thread Pau Garcia i Quiles
that other developers can also give him some insight. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo

Re: [CMake] Solution folders

2011-02-20 Thread Pau Garcia i Quiles
anything for 2.8.2... Does set_target_properties( ... FOLDER ... ) make source_group unnecessary? Or are they intended for different uses? (I don't have a Visual Studio at hand to test) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] Gyp VS CMake

2011-02-18 Thread Pau Garcia i Quiles
://www.elpauer.org/?p=614 ) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

[CMake] ExternalProject_Add, race conditions, MSVC_IDE

2011-01-22 Thread Pau Garcia i Quiles
it with MSVC solutions but if fails miserable with errors about cmd.exe. Is this by design or is it a bug? I'm using the latest CMake snapshot. The project is here: http://gitorious.org/winstng See 'winst' and 'winst.bat' if you are interested in the boostrapping part. -- Pau Garcia i Quiles http

Re: [CMake] targetname_BINARY_DIR?

2011-01-18 Thread Pau Garcia i Quiles
in the binary directory but the examples do not do project(examplename). I've resorted to generate the wrapper scripts in PROJECT_BINARY_DIR. On Mon, Jan 17, 2011 at 9:47 PM, Pau Garcia i Quiles pgqui...@elpauer.org wrote: Hello, If I use: project( blah ) that creates variables blah_SOURCE_DIR

[CMake] targetname_BINARY_DIR?

2011-01-17 Thread Pau Garcia i Quiles
}) However, I don't know how to emulate targetname_BINARY_DIR. I tried with: get_target_property(${name}_RUNTIME_OUTPUT_DIRECTORY ${name} RUNTIME_OUTPUT_DIRECTORY) But I get NOTFOUND :-( Thank you -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] Anyone gotten OpenSSL to build as an external project?

2011-01-14 Thread Pau Garcia i Quiles
/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days

Re: [cmake-developers] Kind-of standard way to support also in-project find-modules

2011-01-11 Thread Pau Garcia i Quiles
easier to me. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] Kind-of standard way to support also in-project find-modules

2011-01-11 Thread Pau Garcia i Quiles
On Wed, Jan 12, 2011 at 12:18 AM, Brad King brad.k...@kitware.com wrote: On 01/11/2011 06:13 PM, Pau Garcia i Quiles wrote: What about something like this? if( FOO_USE_LOCAL_BAR)   set( CMAKE_PREFIX_PATH ${PROJECT_SOURCE_DIR}/3rdparty ) endif(FOO_USE_LOCAL_BAR) find_package(BAR

Re: [CMake] Fixed ProjectGUID

2011-01-07 Thread Pau Garcia i Quiles
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] How to submit new modules?

2010-12-24 Thread Pau Garcia i Quiles
, like finding GDAL in official distribution of OSGeo4W (http://trac.osgeo.org/osgeo4w/) on Windows. Perhaps a merge would be beneficial. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Pau Garcia i Quiles
, still no action on Kitware's side. On the other hand, on KDE, when we moved to KDE4, we closed almost all KDE3-related bugs without checking if they had been fixed. It did not made too much sense to keep bug reports around unless they were feature requests. -- Pau Garcia i Quiles http

Re: [CMake] CMake bug tracker discussion

2010-12-10 Thread Pau Garcia i Quiles
dislike so much. That looks reasonable to me for plain bugreports but not for feature requests or any bugreport which includes a proposed patch -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered

Re: [CMake] CMake bug tracker discussion

2010-12-09 Thread Pau Garcia i Quiles
(or may not) be surprised to discover something is considered very important by a lot of people. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] CMake

2010-09-30 Thread Pau Garcia i Quiles
and cross-compiling: http://steveire.wordpress.com/2010/04/30/kdepim-on-mobile-whats-going-on/ http://ftp.kolab.org/local/maemo/README.html -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered

Re: [CMake] Re-configuration, ExternalProjects, etc.

2010-09-30 Thread Pau Garcia i Quiles
will be searched. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] Project Folders in Visual Studio

2010-03-15 Thread Pau Garcia i Quiles
at source_group. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep

Re: [CMake] How to use DEFINE_SYMBOL properly?

2010-02-09 Thread Pau Garcia i Quiles
at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com

Re: [CMake] CMake 2.8.1 RC 1 is ready to try

2010-02-08 Thread Pau Garcia i Quiles
, #9965, #9970, #9982, #9985, #10003,  #10014, #10021, #10032, #10055, #10060, #10065, #10114, #10119,  #10122, #10126, #10136. Would it be possible to fix #8707 (I've just rebased the patch against 2.8.1RC1) ? It improves integration with Qt Designer on Visual Studio Thank you -- Pau Garcia i

Re: [CMake] cmake clean

2010-01-02 Thread Pau Garcia i Quiles
-of-source build. http://www.cmake.org/Wiki/CMake_FAQ#CMake_does_not_generate_a_.22make_distclean.22_target._Why.3F http://www.cmake.org/Wiki/CMake_FAQ#Running_.22make_clean.22_does_not_remove_custom_command_outputs._Why.3F -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may

[CMake] ANN: CModuler

2010-01-01 Thread Pau Garcia i Quiles
the same BSD license CMake is. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Re: [CMake] restricting Qt include and library linking to 1 library/project

2009-12-31 Thread Pau Garcia i Quiles
://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload

Re: [CMake] restricting Qt include and library linking to 1 library/project

2009-12-31 Thread Pau Garcia i Quiles
. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ 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] target_link_libraries: prefer static to dynamic

2009-12-28 Thread Pau Garcia i Quiles
. That was the whole point of this thread :-) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-28 Thread Pau Garcia i Quiles
intrusive. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild them...@gmail.com wrote: On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: Hello, I think this has already been discussed and the answer is negative but still: when I do target_link_libraries to an external library (for instance, my

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 6:26 PM, Bill Hoffman bill.hoff...@kitware.com wrote: Pau Garcia i Quiles wrote: Hello, I think this has already been discussed and the answer is negative but still: when I do target_link_libraries to an external library (for instance, my application needs to link

Re: [CMake] target_link_libraries: prefer static to dynamic

2009-12-27 Thread Pau Garcia i Quiles
On Sun, Dec 27, 2009 at 10:16 PM, Michael Wild them...@gmail.com wrote: On 27. Dec, 2009, at 20:41 , Pau Garcia i Quiles wrote: On Sun, Dec 27, 2009 at 10:59 AM, Michael Wild them...@gmail.com wrote: On 26. Dec, 2009, at 17:53 , Pau Garcia i Quiles wrote: Hello, I think this has already

[CMake] target_link_libraries: prefer static to dynamic

2009-12-26 Thread Pau Garcia i Quiles
with a static .lib library but IIRC it's possible to detect that. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Building CMake on Windows

2009-12-08 Thread Pau Garcia i Quiles
. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ 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] Copying cmake generated files to another machine

2009-12-07 Thread Pau Garcia i Quiles
buildsystem (Visual C++ projects for Windows and Makefiles for Unix, which required twice the amount of maintainance work), they are not looking back. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] FindQT4 documentation?

2009-12-07 Thread Pau Garcia i Quiles
On Mon, Dec 7, 2009 at 9:28 PM, Glenn Hughes ghughes02...@gmail.com wrote: Hi all, Is FindQT4 documented anywhere? I've found it referenced through a few examples, but googling for it mostly yields bug reports rather than information. $ cmake --help-module FindQt4 -- Pau Garcia i Quiles

Re: [CMake] Copying cmake generated files to another machine

2009-12-07 Thread Pau Garcia i Quiles
somewhat works, you would not be shipping the actual buildsystem but some kind of a pseudo-pre-geneated buildsystem. Morale: anal retentive people must learn that opening your ass to something new may make you happier. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10

Re: [CMake] can't link simple qt example

2009-12-07 Thread Pau Garcia i Quiles
it. That's probably related to this bug: http://public.kitware.com/Bug/view.php?id=9955 -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] question about QT4_WRAP_CPP

2009-12-07 Thread Pau Garcia i Quiles
for a class are in different directories, QT4_AUTOMOC fails. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] question about QT4_WRAP_CPP

2009-12-07 Thread Pau Garcia i Quiles
if you use QT4_AUTOMOC but until the bug is fixed (sorry Clinton, I don't have time at the moment to fix it), QT4_AUTOMOC will only work if .h and .cpp files are in the same directory. Cheers Glenn On Mon, Dec 7, 2009 at 6:08 PM, Pau Garcia i Quiles pgqui...@elpauer.org wrote: If you use

Re: [CMake] .h file preprocessor definition

2009-11-22 Thread Pau Garcia i Quiles
( target PROPERTIES DEFINE_SYMBOL blah ). You may not even need that, as CMake automagically defines targetname_EXPORTS when you do ADD_LIBRARY( target SHARED sources ). In any case, read the docs for SET_TARGET_PROPERTIES :-) -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need

Re: [CMake] selecting different libraries for different configuration types?

2009-11-02 Thread Pau Garcia i Quiles
of headaches, so I'm trying to keep the names separate. Yes. Take a look at FindQt4.cmake for instance. You are interested in the CMAKE_CONFIGURATION_TYPES stuff. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] add_executable with -D

2009-11-01 Thread Pau Garcia i Quiles
/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days

[CMake] Windows registry subtree?

2009-10-30 Thread Pau Garcia i Quiles
\Software\Trolltech\Versions\4.6.0;HKEY_LOCAL_MACHINE\Software\Trolltech\Versions\4.6.0\InstallDir I. e. the result of invoking reg query HKLM\Software\Trolltech\Versions /s but only the keys, not the results. -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days

Re: [CMake] Open Source Memory Checker

2009-10-23 Thread Pau Garcia i Quiles
checker that's open source on Windows? Though not on Windows but for Windows applications, you may want to run Valgrind with wine: http://wiki.winehq.org/Wine_and_Valgrind -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer

Re: [CMake] Fwd: Targets organisation of complex project

2009-10-12 Thread Pau Garcia i Quiles
On Mon, Oct 12, 2009 at 6:41 AM, Chris Foster chris...@gmail.com wrote: On Mon, Oct 12, 2009 at 12:57 PM, Pau Garcia i Quiles pgqui...@elpauer.org wrote: [...] What are the advantages of this? Why don't you rename you project.cmake files to CMakeLists.txt and use add_subdirectory on those

Re: [CMake] Targets organisation of complex project

2009-10-11 Thread Pau Garcia i Quiles
inside the *same* CMakeLists.txt which built the library. Could you please give more insight into what problems you were having with generated files? Did you do SET_SOURCE_FILES_PROPERTIES( generatedsource.cpp PROPERTIES GENERATED 1 ) ? -- Pau Garcia i Quiles http://www.elpauer.org (Due to my

  1   2   3   >