Re: [CMake] Protobuf Module

2011-10-12 Thread Philip Lowman
imply lists of source & header files to generate. You need to use them in a target in order for CMake to cause them to be generated. E.g. add_executable(foo foo.cc ${PROTO_SRCS} ${PROTO_HDRS}) target_link_libraries(foo ${PROTOBUF_LIBRARIES}) Hope that solves your problem. -- Phili

Re: [CMake] FindBoost PATH_SUFFIXES fix

2011-06-15 Thread Philip Lowman
ges before they are pushed to next though (mainly to prevent people from breaking things). -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messa

Re: [CMake] CMakeDetermineVSServicePack.cmake

2011-06-09 Thread Philip Lowman
> aaron.mead...@thomsonreuters.com > thomsonreuters.com > > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-02 Thread Philip Lowman
"libboost". By default FindBoost searches for shared libraries since this matches CMake default behavior on Unix platforms. If you want FindBoost to search for static libraries instead, simply set: set(Boost_USE_STATIC_LIBS ON) -- Philip Lowman ___

Re: [CMake] [CMake General][FindBoost] CMake and Boost 1.46.1

2011-05-01 Thread Philip Lowman
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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >

Re: [CMake] CMake bug tracker discussion

2010-12-09 Thread Philip Lowman
to take an issue raised on the mailing list and force it into the bug tracker. It seems a little rude to the person that emailed about the issue because you might be asking them to deal with the rigmarole of creating a mantis account when they already went through the hassle of joining the

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-07 Thread Philip Lowman
On Sunday, December 5, 2010, Hicham Mouline wrote: > I've built both win32 and x64 versions of boost thread library with the > following 2 lines: > > 1. 32bit cl.exe from msvc9 directory in the %PATH% > bjam --with-thread --layout=versioned toolset=msvc address-model=64 > variant=release link=st

Re: [CMake] Wiki: version compatibility matrix

2010-12-05 Thread Philip Lowman
> > 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 > -- Philip Lowman ___ Powered by www.

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Philip Lowman
nclude what the filenames look like when generated by visual studio? If you want to try to patch FindBoost yourself, please make sure you're playing with the version from 2.8.3. http://www.cmake.org/Bug -- Philip Lowman ___ Powered by www.kitware.com

Re: [CMake] FindBoost: find both win32 and x64 static libs

2010-12-04 Thread Philip Lowman
u could try something like this: include(CheckTypeSize) CHECK_TYPE_SIZE(void* SIZEOF_PTR) message("size of pointer = ${SIZEOF_PTR}") Then if SIZEOF_PTR is 4, you would set BOOST_LIBRARYDIR to be ${BOOST_ROOT}/lib32 and if it is 8, you set it to ${BOOST_ROOT}/lib64. -- Philip Lowman ___

Re: [CMake] Makefile to CMakeLists.txt (GTEST)

2010-12-04 Thread Philip Lowman
#x27;ll need to explicitly specify the libraries during compile time to resolve those symbols and produce a binary as far as I know. I'm not sure why you're using add_custom_target() when you could just use add_executable() and target_link_libraries(), but I doubt this has anything to do w

Re: [CMake] Makefile to CMakeLists.txt (GTEST)

2010-11-29 Thread Philip Lowman
e? > > > Best Regards, > > -- > Kevyn-Alexandre Paré > > ___ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.ht

Re: [CMake] Eciipse and multiple configuration

2010-11-16 Thread Philip Lowman
gt; 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 > -- Philip Lowman ___ Powered by www.kitware.

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-09 Thread Philip Lowman
On Sun, Nov 7, 2010 at 8:29 PM, Luigi Calori wrote: > On 07/11/2010 21.01, Philip Lowman wrote: > > On Fri, Nov 5, 2010 at 12:08 PM, Luigi Calori wrote: > >> +1 for FindBoost support to "CMakeified" version of Boost at " >>> http://gitorious.org/~de

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-07 Thread Philip Lowman
ould probably have to be an extended form of the find_library(), find_path(), etc. commands. -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep mess

Re: [CMake] Bug fix requests for the *next* release of CMake...

2010-11-07 Thread Philip Lowman
in a bug report what does and doesn't work between FindBoost.cmake and the branch of Boost that you're referring to and I would be more than happy to look into the issue. I've heard reports of people getting FindBoost and CMakeified boost to play nice together but it involved changing build

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit target

2010-11-05 Thread Philip Lowman
(nearly all users will want it to be OFF) Boost_USE_STATIC_RUNTIME -- Philip Lowman ___ 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

Re: [CMake] Linking Boost on Linux on 64bit host and 32bit

2010-11-04 Thread Philip Lowman
> > > > ___ > 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.c

Re: [CMake] Disallowing in-source builds

2010-10-07 Thread Philip Lowman
VERBATIM) > > CMake never knows that the file boom.txt is written, and therefor can't > clean it away. I think this is a bit of a red herring. CMake could be perfectly capable of cleaning up after itself (i.e. its own files). If the user is doing things like making a b

Re: [CMake] Disallowing in-source builds

2010-10-06 Thread Philip Lowman
r (it would help for both use-cases you specify). This is kind of related to my ticket asking for a distclean target, so I'll just throw it out there in case anyone has some free time on their hands. http://www.cmake.org/Bug/view.php?id=6647 -- Philip Lowman

Re: [CMake] Boost Library Search

2010-10-06 Thread Philip Lowman
is redundant so if there are more RC's for CMake 2.8.3, I plan on removing it and just counting on if the user has defined Boost_USE_STATIC_RUNTIME or not (regardless if they set it ON or OFF) to disable the "double" search on WIN32. -- Philip Lowman ___

Re: [CMake] CMakeDetermineVSServicePack.cmake support for vs2010

2010-09-30 Thread Philip Lowman
for the compiler and run that. My time is really limited. If you're interested, please create a new ticket and submit a patch. It would save probably at least a second off of an initial configure. -- Philip Lowman ___ Powered by www.kitware.com Vi

Re: [CMake] CMakeDetermineVSServicePack.cmake support for vs2010

2010-09-30 Thread Philip Lowman
ressed in this message are those of the individual sender, > except where the sender specifically states them to be the views of Thomson > Reuters. > > ___ > Powered by www.kitware.com > > Visit other Ki

Re: [CMake] Volunteering to become maintainer of FindBoost.cmake

2010-09-10 Thread Philip Lowman
we need to fix 6399 first. For now I would just recommend adding the target_link_library manually against pthreads when you're using it and ensure we have a bug filed for this issue in the tracker. On Fri, Sep 10, 2010 at 1:29 PM, Matthew Woehlke < matthew.woeh...@kitware.com> wrote: &g

[CMake] Volunteering to become maintainer of FindBoost.cmake

2010-09-10 Thread Philip Lowman
Hi everyone, I'm volunteering to become the primary maintainer of FindBoost.cmake. -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messag

Re: [CMake] Loop expansion in find_library() seems backwards

2010-09-08 Thread Philip Lowman
nd on supporting find modules, so if anyone wants to take this over... It was one approach for how to solve the version number problem... http://www.cmake.org/Bug/view.php?id=8396 -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitw

Re: [CMake] Loop expansion in find_library() seems backwards

2010-09-08 Thread Philip Lowman
38 AM, Michael Wild wrote: > > On 8. Sep, 2010, at 8:25 , Philip Lowman wrote: > > > Let's say I have many different potential names for a library and the > > following filesystem > > > > /usr/lib/libnspr4.so > > ${CMAKE_CURRENT_SOURCE_DIR}/libnspr4a.so &g

[CMake] Loop expansion in find_library() seems backwards

2010-09-07 Thread Philip Lowman
lib/libnspr4.so ${CMAKE_CURRENT_SOURCE_DIR}/libnspr4a.so /usr/lib/libnspr4a.so This is with CMake 2.8.2 -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topi

Re: [CMake] FindBoost.cmake trouble with static libs (-gd vs -sgd issue)

2010-09-07 Thread Philip Lowman
> > ___ > 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/Wiki/CMake_FA

Re: [CMake] [cmake-developers] Bug fix requests for the *next* release of CMake...

2010-08-31 Thread Philip Lowman
is for other projects at: >> >> http://www.cmake.org/Bug/roadmap_page.php >> >> > > ___ > cmake-developers mailing list > cmake-develop...@cmake.org > http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [CMake] detecting libc version info

2010-08-31 Thread Philip Lowman
c15 HTH -- Philip Lowman ___ 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/Wiki/CMake_FAQ Fol

Re: [CMake] FindOpenSSL.cmake

2010-08-31 Thread Philip Lowman
om > > 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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/ma

Re: [CMake] FindBoost.cmake in 2.8.2 _Boost_KNOWN_VERSIONS variable

2010-08-25 Thread Philip Lowman
4.1" "1.34.0" "1.34" "1.33.1" "1.33.0" "1.33") > > > > Maybe there’s a pre-release checklist of items that get updated before each > list that this can be added to. It looks like this variable will need to be > constantly updated. A

Re: [CMake] CTest: Any way around the "one test == one program invocation" assumption?

2010-06-08 Thread Philip Lowman
it's highly undocumented... > It doesn't appear like there is a class for storing the test results before serializing the XML document to a file. Sounds like that's what would have to be written. cmCTestTestHandler::GenerateDartOutput Looks like it may be a place to start? -- Phili

Re: [CMake] FindThreads.cmake

2010-06-03 Thread Philip Lowman
he CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source proje

Re: [CMake] FindBoost problem

2010-05-26 Thread Philip Lowman
> http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake > -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http:

Re: [CMake] Trying to link my project with Boost.Thread using CMake

2010-05-24 Thread Philip Lowman
tra cruft I messed that up. > Just image they're matching :) > > On 05/23/10 11:36, Philip Lowman wrote: > > On Sun, May 23, 2010 at 10:31 AM, Clark Gaebel >wrote: > > > > > >> When I link Boost.Thread to my boost_test executable, it gives me > >&g

Re: [CMake] Trying to link my project with Boost.Thread using CMake

2010-05-23 Thread Philip Lowman
gt; ${Boost_THREAD_LIBRARY} > ) > endif() > > Don't you want: target_link_libraries(boost_test ${Boost_THREAD_LIBRARY}) instead of "test_boost"? -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open

Re: [CMake] CMake 2.8.1 / Win: Neither if nor else?`

2010-05-22 Thread Philip Lowman
new to CMake 2.8. For better compatibility with CMake 2.6 and lower, simply omit it which should give you a similar effect. -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/o

Re: [CMake] Linking error with VS2005

2010-05-21 Thread Philip Lowman
__________ > 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/Wiki/CMake_FAQ > > Foll

Re: [CMake] VS-C++ Express Version

2010-05-14 Thread Philip Lowman
e were added by Microsoft there would be no need for all of the crazy macro stuff. On Fri, May 14, 2010 at 10:53 AM, David Cole wrote: > On Fri, May 14, 2010 at 8:02 AM, Philip Lowman wrote: > >> This is Microsoft's fault. You should complain to them. > > > Well, yes and no. It

Re: [CMake] VS-C++ Express Version

2010-05-14 Thread Philip Lowman
___ > 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/Wi

Re: [CMake] cmake: could NOT find Boost

2010-05-05 Thread Philip Lowman
> http://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 &g

Re: [CMake] FIND_LIBRARY in FindBoost finds wrong library

2010-03-22 Thread Philip Lowman
at start of find_package() and subsequently unset at end). -- Philip Lowman ___ 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 F

Re: [CMake] FIND_LIBRARY in FindBoost finds wrong library

2010-03-21 Thread Philip Lowman
ion. It would basically set NO_CMAKE_SYSTEM_PATH on all of the find_library() and find_path() calls. Alternatively, we could make the module behave as you describe and hope that it doesn't break too many people. What do you think? -- Philip Lowman ___

Re: [CMake] FIND_LIBRARY in FindBoost finds wrong library

2010-03-19 Thread Philip Lowman
Someone could add an option to FindBoost that will simply exclude the system paths from the search. This has never been implied by setting BOOST_ROOT. As long as the unversioned library names are being searched for with find_library they are likely going to be found. Currently the onus is on the

Re: [CMake] Skipping PATH when using find_library

2010-03-12 Thread Philip Lowman
e a foo.lib in your PATH CMake shouldn't find it with that option. NO_DEFAULT_PATH should work as well although it excludes all of the default search paths not just the ones specified by the PATH environment variable. See: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#command:find_li

Re: [CMake] set proxy with cmake file download

2010-03-11 Thread Philip Lowman
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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://ww

Re: [CMake] CMAKE_BUILD_TYPE should start as a drop-list option

2010-03-02 Thread Philip Lowman
The second line seems like a good idea to me. The user can always modify the property in their code if they have custom build types. The first line seems like a bad idea. I think the default build type should be left to the project. Currently you can set it manually before project(). I think a

Re: [CMake] FindCurses wide

2010-02-28 Thread Philip Lowman
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 > -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitwa

Re: [CMake] Missing Software\Microsoft\VisualStudio\8.0\vsmacros\OtherProjects7

2010-02-22 Thread Philip Lowman
I have visual studio 8 sp1 installed and have keys in HKCU/Software/Microsoft/VisualStudio/8.0/vsmacros/OtherProjects7 On Feb 22, 2010 10:32 AM, "Wheeler, Frederick W (GE, Research)" < whee...@ge.com> wrote: I did an uninstall/reinstall and have some more info on this problem. > From: David Co

Re: [CMake] Overwriting variables in cache.

2010-02-18 Thread Philip Lowman
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 > -- Philip Lowman __

Re: [CMake] CTest/CDash and miscellaneous post-build steps (was Re: continuous integration with CMake)

2010-02-17 Thread Philip Lowman
I've been meaning to add something like that to our nightly builds just using shell/batch scripting. You should be able to set CMAKE_PREFIX_PATH in the initial cache and then just make install or use the vs command line app to run the INSTALL project after calling ctest -S. Not sure on how to det

Re: [CMake] FindBoost: trunk

2010-02-15 Thread Philip Lowman
Not that I know of. I think FindBoost expects only versioned releases. Please open a ticket with your requirements and preferably a patch. Http://public.kitware.com/Bug On Feb 14, 2010 5:34 PM, "Hicham Mouline" wrote: Hello, Is there a way to find the boost trunk include directories and li

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-13 Thread Philip Lowman
gzguts.h > Anyone has ever tested it under MSVC? It would be nice to have helpers to > build patches, as in CMakePorts... I was testing it on MSVC but it seems like they keep checking in code which breaks MSVC every 1.2.3.X and I haven't been checking X consistently. Your above comm

Re: [CMake] Bison extra headers

2010-02-12 Thread Philip Lowman
CT_BINARY_DIR}/Parser.h") >> >> But then both Parser.hpp and Parser.h are generated. But this is also >> a very small issue. >> >> Finally, thanks a lot for supporting bison and flex in CMake. >> >> Kind regards, >> visibility guy > ____

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-11 Thread Philip Lowman
to contain debug/optimized keywords from your macro could break people. Leaving it in if FOO_LIBRARY is used in the manor I illustrated causes warnings. You might want to check with if(DEFINED FOO_LIBRARY) and if so not set it maybe? -- Philip Lowman ___

Re: [CMake] How to avoid continuous download while using ExternalProjects

2010-02-10 Thread Philip Lowman
downloads you need yet another target. Also, for any that are interested, beta releases of zlib now have a CMakeLists.txt in them. It could use testing on Mac OSX and other unix systems. http://zlib.net/current/beta/ -- Philip Lowman ___ Powered by

Re: [CMake] set “Whole Program Optimization”to Y es in VS 2005

2010-02-09 Thread Philip Lowman
what the Visual Studio GUI looks like and doesn't affect the compiling of the code since the /GL shows up in the additional options line and thus gets added to the command line when the compiler is run. -- Philip Lowman ___ Powered by w

Re: [CMake] How to findXXX libraries with debug suffix

2010-02-09 Thread Philip Lowman
y not be desired. The only harm I can see this causing is if a user were to have done this already in his CMakeLists.txt. In this case they might find themselves with a CMake error or linking against liboptimized.so! :) if(FOO_LIBRARY_DEBUG) targe

Re: [CMake] Manual version vs CMake version

2010-02-06 Thread Philip Lowman
user who preferes pretty website to read doc > than dark console  :-) Also, it might not be a bad idea to mention the version number within the documentation when features are added, especially if features are going to be added during a patch release. The same should probably be true of new f

Re: [CMake] Warning D9025 : overriding '/W3' with '/W4'

2010-01-18 Thread Philip Lowman
_CXX_FLAGS and make them whatever they are in the CACHE by default but with /W4 instead of /W3. http://www.itk.org/Wiki/CMake_FAQ#Make_Override_Files -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitwa

Re: [CMake] FindGTest patch

2010-01-16 Thread Philip Lowman
looks different from the one that was released with CMake 2.8.0. Also, The latest version in CMake CVS (with some minor changes from 2.8.0) is here: http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/FindGTest.cmake?revision=1.4&root=CMake&view=markup -- Philip Lowman

Re: [CMake] Visual Studio with static runtime

2010-01-15 Thread Philip Lowman
osoft.com/en-us/library/abx4dbyh(VS.71).aspx For tips on how to change your CMakeLists.txt, see also: http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F -- Philip Lowman ___ Powered by www.kitware.com Visi

Re: [CMake] Proposal for new generator options

2010-01-15 Thread Philip Lowman
o this without requiring CMakeLists.txt modifications, at least do something simpler such as adding a variable like CMAKE_MSVC_COMPILE_WITH_MT or something like that. This way all that needs to be modified is Modules/Platform/Windows-cl.cmake to set the initial cache differently and perhaps addin

Re: [CMake] ANN: UseOcaml.cmake

2010-01-14 Thread Philip Lowman
ne FindOCaml and UseOCaml script. There is no sense having two of them out there. -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-top

Re: [CMake] ANN: UseOcaml.cmake

2010-01-13 Thread Philip Lowman
ways so the list gets a copy of the thread. I think the best way to get it available it to have it released as part of CMake's Modules folder. To do this you have to volunteer to maintain the module (basically to deal with patches and bugs) and follow the proc

Re: [CMake] ANN: UseOcaml.cmake

2010-01-10 Thread Philip Lowman
just get turned into a list you can iterate on? Couldn't you just use foreach() on it and add the "-I" argument and path argument to a separate list that gets passed to add_custom_command()? foreach(path ${includelist}) list(APPEND myargs "-I") list(APPEND myargs &

Re: [CMake] Can you add sources to a target library after add_library()?

2010-01-09 Thread Philip Lowman
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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe

Re: [CMake] xxxxxSPAMxxxxx Simple Question Regarding Link Libraries on Linux

2010-01-05 Thread Philip Lowman
r 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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] [New Module] FindGTK2.cmake call for testing

2010-01-04 Thread Philip Lowman
On Mon, Jan 4, 2010 at 10:48 AM, Michael Wild wrote: > On 8. Jan, 2009, at 9:54 , Philip Lowman wrote: >> If you use GTK2 in any of your projects and have time, please test this >> CMake module and post any issues to this thread.  I intend to check it into >> CMake and sup

Re: [CMake] target_link_libraries: prefer static to dynamic

2010-01-03 Thread Philip Lowman
ome special functions which maybe could be checked > with something like nm ? If I recall correctly we discussed this a long time ago and there were some dll specific symbols present in the accompanying import library that weren't there in the

Re: [CMake] cmake query

2010-01-03 Thread Philip Lowman
ww.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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http:/

Re: [CMake] EXECUTE_PROCESS and relative path

2009-12-20 Thread Philip Lowman
TIVE{./xxx} > ) > > here RELATIVE means relative to CMakeLists.txt file. You can use ${CMAKE_CURRENT_SOURCE_DIR} and the path relative to that. http://www.cmake.org/Wiki/CMake_Useful_Variables -- Philip Lowman ___ Powered by www.kitware.com Visit o

Re: [CMake] cmake 2.8.0, FindGTK2 on mac

2009-12-01 Thread Philip Lowman
Hi, I wrote FindGTK2. You might try removing the "gtk/" from line 350? Line 345 where the include path is searched for may also need to be modified... I don't have a MAC so if anyone has any better ideas, help would be appreciated. On Dec 1, 2009 1:27 PM, "Aleksander Demko" wrote: I can't see

Re: [CMake] set_target_properties - compile flags problem

2009-11-21 Thread Philip Lowman
cts at > http://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 > -- Philip Lowman ___

Re: [CMake] Compiling zlib and libpng with one command

2009-11-12 Thread Philip Lowman
ALL_[HEADERS | LIBRARIES | EXECUTABLES | FILES | ALL]. -- Philip Lowman ___ 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

Re: [CMake] How to include Boost in Visual Studio cmake project

2009-11-12 Thread Philip Lowman
affect which libraries are detected and certain ones like boost_thread can't be found if Boost_USE_MULTITHREADED is not true. If this doesn't help, delete your build tree, then add this line prior to calling find_package(Boost...) set(Boost_DEBUG TRUE) Paste the output here and the relevant p

Re: [CMake] How to include Boost in Visual Studio cmake project

2009-11-12 Thread Philip Lowman
; MSVC libs usually do not have the lib... prefix. I am not sure if CMake > does find them in this case. > > The static MSVC libraries always have the lib prefix on Windows, the dynamic MSVC libraries do not. You have to set this variable to enable searching for static libra

Re: [CMake] FindX11 and FindLibXml2: different behaviors when using static/dynamic libraries

2009-11-11 Thread Philip Lowman
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/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake

Re: [CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

2009-11-04 Thread Philip Lowman
TER 1.36) list(APPEND Boost_wave_DEPENDENCIES system) endif() Does that make any sense? Best regards, Marcel Loose. On Wed, 2009-11-04 at 11:14 -0500, Philip Lowman wrote: > Mathieu, > > It's a nice idea, but give... > __

Re: [CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

2009-11-04 Thread Philip Lowman
Mathieu, It's a nice idea, but given that Boost could make any one of its libraries dependent on "system" at any time they want in the future (and for all I know there are others already dependent on it, besides wave and filesystem), I'd rather the user be responsible for adding "system" manually.

Re: [CMake] help me to resolve this issue

2009-11-03 Thread Philip Lowman
other inconsistencies in how CMake behaves. Changing the CMAKE_CXX_FLAGS in-between add_executable() calls also doesn't seem to work for me, for example. In the meantime you're probably can make do with set_target_properties(), specifically the COMPILE_FLAGS property. http://www.cmake.org/cma

Re: [CMake] several executables with cmake

2009-11-03 Thread Philip Lowman
t() http://www.cmake.org/cmake/help/cmake2.6docs.html#command:add_executable http://www.cmake.org/cmake/help/cmake2.6docs.html#command:add_test -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://ww

Re: [CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

2009-11-03 Thread Philip Lowman
txt:33 (FIND_PACKAGE) ... Thanks On Mon, Nov 2, 2009 at 6:24 PM, Philip Lowman wrote: > Add system to the list of ... -- Mathieu ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

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

2009-11-02 Thread Philip Lowman
ou might be able to adapt something from options #2 or #3 below. http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_build_my_MSVC_application_with_a_static_runtime.3F -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://

Re: [CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

2009-11-02 Thread Philip Lowman
`boost::system::get_generic_category()' /usr/include/boost/system/error_code.hpp:213: undefined reference to `boost::system::get_system_category()' What should have I been writing instead ? Thanks ! On Mon, Nov 2, 2009 at 4:41 PM, Philip Lowman wrote: > Which FindBoost are you u... -- Mathieu ___

Re: [CMake] FindBoost: FIND_PACKAGE ( Boost COMPONENTS filesystem )

2009-11-02 Thread Philip Lowman
Which FindBoost are you using? I'm pretty sure I fixed this issue a while ago. On Nov 2, 2009 9:46 AM, "Mathieu Malaterre" wrote: Hi there, I am wondering if I am missing something. I'd like to write: FIND_PACKAGE ( Boost COMPONENTS filesystem ) However using a recent boost (1.40), it give

Re: [CMake] Make test an official dependency...

2009-10-22 Thread Philip Lowman
ource.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 > -- Philip Lowman ___ Powered b

Re: [CMake] GTest Integration

2009-10-22 Thread Philip Lowman
The version in CMake CVS supports a Unix make install or using a VS build tree the last I checked. You can also manually arrange the MSVC generated stuff into a Unix style prefix if you want. Please have a look at the latest GTest.cmake and post an example of your problem if you can't resolve it.

Re: [CMake] COMPILE_FLAGS_

2009-10-20 Thread Philip Lowman
cmake.org/Bug/view.php?id=6493 On Oct 20, 2009 11:29 AM, "Steven Wilson" wrote: I am asking why CMake doesn't support the following: set_target_properties(${TARGET} PROPERTIES COMPILE_FLAGS_ "-fmyflag") > Would set_target_properties() work? Then you can do something like: > > set_target_prope

Re: [CMake] find_package with NO_DEFAULT_PATH issue

2009-10-19 Thread Philip Lowman
quot; feature so fixing it via a public conditional (defaulting off) is probably the only way to go. -- Philip Lowman ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread Philip Lowman
Thanks for linking. Posting via mobile :) On Oct 16, 2009 4:27 PM, "John Drescher" wrote: On Fri, Oct 16, 2009 at 4:14 PM, Philip Lowman wrote: > You may want to also look ... Found that: http://www.itk.org/Wiki/CMake_FAQ#Make_Override_Files Thanks. I will have to bookmark

Re: [CMake] Turning off extra Visual Studio options

2009-10-16 Thread Philip Lowman
You may want to also look into platform override files. See the FAQ and search for override. On Oct 16, 2009 3:50 PM, "Tyler Roscoe" wrote: On Fri, Oct 16, 2009 at 12:16:12PM -0600, Steven Wilson wrote: > Is there a way to turn off all the ... I don't know of an easy way. I guess the best way

Re: [CMake] Why FindBoost messaging not unified?

2009-10-12 Thread Philip Lowman
searching for boost, what library names it is > using, did it find environment variables. Things like that. Just a thought. > Feel free to attach a patch to the bugtracker for whatever you'd like added to Boost_DEBUG. -- Philip Lowman ___ Po

Re: [CMake] Targets organisation of complex project

2009-10-11 Thread Philip Lowman
source code is scattered across multiple subdirectories but is all supposed to be part of the same library then build it together. You can use PARENT_SCOPE to hand lists of source files up a directory, if that is of interest. set(FOO_SRCS ${list_of_sources} PARENT_SCOPE) -- Philip Lowma

Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 4:04 PM, Aleksandr Udovenko wrote: > On Fri, Oct 9, 2009 at 5:33 PM, Philip Lowman wrote: > > On Fri, Oct 9, 2009 at 4:15 AM, Aleksandr Udovenko > > > wrote: > >> > >> On Fri, Oct 9, 2009 at 10:04 AM, Philip Lowman wrote: > >>

Re: [CMake] Why FindBoost messaging not unified?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 6:05 AM, Fabio Fracassi wrote: > Philip Lowman schrieb: > >> If you have any other CMake related suggestions please feel free to >> accompany your mailing list posts with a feature request and/or patch on the >> bugtracker if you have

Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-09 Thread Philip Lowman
On Fri, Oct 9, 2009 at 4:15 AM, Aleksandr Udovenko wrote: > On Fri, Oct 9, 2009 at 10:04 AM, Philip Lowman wrote: > > On Wed, Oct 7, 2009 at 11:45 AM, Aleksandr Udovenko < > udovenk...@gmail.com> > > wrote: > >> > >> I try cmake 2.6, 2.8 for micros

Re: [CMake] How send linker options for STATIC LIBRARY?

2009-10-08 Thread Philip Lowman
or exe and shared. > > How i can send my option to linker for static library? > You might be able to use this: http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:STATIC_LIBRARY_FLAGS -- Philip Lowman ___ Powered by www.kitwar

  1   2   3   4   5   6   >