Re: [CMake] find_library fails when cross compiling

2018-03-28 Thread Oliver Dain
In case anyone else hits this, I figured it out. The issue was that our toolchain file specified "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY" which meant it was ignoring our PATH list. Changing it to "CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH" solved the issue. On Mon, Mar 26, 20

[CMake] find_library fails when cross compiling

2018-03-26 Thread Oliver Dain
ked (and I know its the right libs because things also run). Is this a bug or is there something I don't understand about NO_DEFAULT_PATH? Thanks, Oliver PS: I know the hard coded full path names are odd - the CMakeLists.txt files are actually generated -- it's a long story. -- Powered by www.k

[cmake-developers] Antwort: Re: Non supported toolchain

2017-11-22 Thread oliver . zabel
Hi Alex, thanks for your answer. 1. is there some guide or at least some example? 2. Does this module needs to be in the offical build to be distributed or is there a possibility to distribute the modules locally? Thanks! Oli Von:Alexander Neundorf An:

[cmake-developers] Non supported toolchain

2017-11-22 Thread oliver . zabel
NE_FLAC_C but they don't seem to accesible from the toolchain file. Is there any chance beside writing a new module for a compiler to get this toolchain running? Thanks a lot and sorry for asking on the dev list! Best regards, Oliver-- Powered by www.kitware.com Please keep messages on-topic and

[CMake] Antwort: Re: Re: Antwort: Antwort: Re:Antwort: Re: Toolchain with non-gcc argument format

2017-11-22 Thread oliver . zabel
Hi Eric, thanks a lot for your help! i'm going to try it on the dev mailing list. Cheers, Oliver Von:Eric Noulard <eric.noul...@gmail.com> An: oliver.za...@egoproducts.com Kopie: CMake Mailinglist <cmake@cmake.org> Datum: 22.11.2017 09:49 Betreff:Re: Re: [CM

Re: [CMake] Predownload

2017-04-17 Thread Zabel, Oliver
at handles this stuff that i'm not aware of?    Gesendet: Dienstag, 18. April 2017 um 00:23 Uhr Von: "Craig Scott" <craig.sc...@crascit.com> An: "Florent Castelli" <florent.caste...@gmail.com> Cc: CMake <cmake@cmake.org>, "Zabel, Oliver" <oliverz

[CMake] Predownload

2017-04-17 Thread Zabel, Oliver
dynamicly choose which toolchain i want to have – would be great for Compiler / unit Tests as well. Perhaps someone has a better idea to do this or even i using such a System and give me a hint? Thanks a lot! Best regards, Oliver -- Powered by www.kitware.com Please keep messages

Re: [CMake] can't locate library with find_library

2017-03-22 Thread Oliver
oh, no, silly me, I didn't. that fixed the problem. thx Feiyi On Wed, Mar 22, 2017 at 10:08 AM, Nils Gladitz <nilsglad...@gmail.com> wrote: > On 22.03.2017 14:52, Oliver wrote: > >> hi all, >> >> I am running cmake 3 using EPEL install on RHEL 7. I

[CMake] can't locate library with find_library

2017-03-22 Thread Oliver
n still control logging through env settings") message(STATUS "GLOG_logtostderr=1 ./your_application") else() message(STATUS "gflags is present, you can controll logging through command line:") message(STATUS "./your_application --logtostderr=1") e

[CMake] surround executable with flags

2016-08-24 Thread oliver . zabel
issue is the last thing, i need to get around it. Thanks for help! Best regards, Oliver-- 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 to support the CMake community. For more

[CMake] surround add_executable with flags

2016-08-24 Thread oliver . zabel
issue is the last thing, i need to get around it. Thanks for help! Best regards, Oliver-- 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 to support the CMake community. For more

[cmake-developers] Patch for FindIconv support

2014-11-26 Thread Steven Oliver
you, Steven N. Oliver 0001-Add-new-FindIconv-module.patch Description: Binary data -- 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 to support the CMake community. For more information

[CMake] Check header file woos

2014-02-18 Thread Oliver
to be explicit about it set(CMAKE_REQUIRED_INCLUDES /usr/include/lustre) Still no avail. If I check any other header file in that directory, say sys/io.h, it will work as expected. I am puzzled ... anything I missed? Thanks -- Oliver -- Powered by www.kitware.com Please keep messages on-topic

[CMake] [PATCH] New FindIconv module

2012-08-28 Thread Steven Oliver
Attached is a patch that will find the iconv library by testing to make sure it exists by compiling a sample C file. Thank you, Steven N. Oliver 0001-Add-new-FindIconv-module.patch Description: Binary data -- Powered by www.kitware.com Visit other Kitware open-source projects at http

Re: [CMake] Need to prepend compiler with static analysis tool

2012-05-23 Thread Oliver Smith
state? Other than running make clean which I did do. rm -rf CMakeCache* CMakeFiles* - Oliver -- 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] Master-switch options

2012-03-22 Thread Oliver kfsone Smith
use these to build a drop-down list of VARIANT settings, and CMake itself could ascertain that -DVARIANT=Intrenal (typo) is invalid (-DVARIANT is used in OPTIONS but there is no OPTIONS that matches Intrenal). - Oliver -- Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Couple of library/link questions

2012-03-21 Thread Oliver kfsone Smith
, warning that it is usually an error in the CMakeLists.txt file. - Oliver -- 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

[CMake] Couple of library/link questions

2012-03-20 Thread Oliver Smith
} ${ExtraSrcFiles}) but that's clumsy :) - Oliver -- 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 Follow this link

[CMake] How to make package depend on tests?

2012-03-05 Thread Oliver kfsone Smith
I have test and package configurations on my project, I want: cmake . make package to run force injection of the test target prior to building the package target. Can it be done? How? :) -- Powered by www.kitware.com Visit other Kitware open-source projects at

[CMake] Partial 3rd-party library management

2012-02-26 Thread Oliver Smith
add_library(ircclient SHARED libircclient/src/libircclient.c) set_property(TARGET ircclient PROPERTY COMPILE_DEFINITIONS IN_BUILDING_LIBIRC) link_directories( ${Project_BINARY_DIR}/ircclient ) 8x --- snip --- x8 - Oliver -- Powered by www.kitware.com Visit other Kitware open-source

[CMake] Problem with precompiled header attempts

2012-02-26 Thread Oliver Smith
anything else in this directory - Oliver -- 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 Follow this link to subscribe

Re: [CMake] Is there a cookbook?

2012-02-24 Thread Oliver Smith
is a living example. I appreciate your time looking for a solution for my issue, though :) - Oliver -- 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] External projects and make clean

2012-02-17 Thread Oliver Boesche
the external projects again (take some time with BOOST). Is there a solution to prevent an external project from cleaning when I call 'make clean'? Kind regards Oliver Boesche -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Making a variable a dependency...

2012-02-08 Thread Oliver kfsone Smith
Alexander Neundorf said the following on 2/6/2012 3:56 PM: Would it be acceptable if cmake would rerun after every build ? You could enforce that e.g. with a add_custom_command( POST_BUILD ... ) which could e.g. touch CMakeCache.txt or something. Better ideas ? We're working in a client/server

Re: [CMake] Making a variable a dependency...

2012-02-08 Thread Oliver kfsone Smith
Michael Hertling said the following on 2/6/2012 6:39 PM: On 02/06/2012 10:56 PM, Alexander Neundorf wrote: On Saturday 04 February 2012, Oliver Smith wrote: My CMakeLists uses the Subversion repository information in a couple of places (it configures a file revision.h and it uses

[CMake] Making a variable a dependency...

2012-02-04 Thread Oliver Smith
My CMakeLists uses the Subversion repository information in a couple of places (it configures a file revision.h and it uses it for the CPack package name). The problem is that this variable is cached and retained until the cache is rebuilt, instead of being calculated or evaluated per make.

[CMake] Portable revision lookup?

2012-02-02 Thread Oliver kfsone Smith
other repository attributes - specifically the URL - I'd like to build installers named product.branch.revision.suffix e.g. my-client.baseline.57721.deb or my-server.branches.1.35.57804.tbz2 Any pointers? - Oliver -- Powered by www.kitware.com Visit other Kitware open-source

Re: [CMake] Portable revision lookup?

2012-02-02 Thread Oliver kfsone Smith
John Drescher said the following on 2/2/2012 3:36 PM: Cmake has support for pulling the svn and I believe git revs using cmake modules. Here is what I do for svn Much appreciated -- I just didn't think to look in the Find package, duly noted for future reference. - Oliver -- Powered

Re: [CMake] Portable revision lookup?

2012-02-02 Thread Oliver kfsone Smith
Oliver kfsone Smith said the following on 2/2/2012 4:17 PM: John Drescher said the following on 2/2/2012 3:36 PM: Cmake has support for pulling the svn and I believe git revs using cmake modules. Here is what I do for svn Much appreciated -- I just didn't think to look in the Find package

[CMake] CPack / Debian install location

2012-02-02 Thread Oliver kfsone Smith
(CPACK_PACKAGE_DESCRIPTION_SUMMARY Game servers) SET(CPACK_PACKAGE_DESCRIPTION 'Game servers and tools.) SET(CPACK_DEBIAN_PACKAGE_MAINTAINER Oliver Smith) SET(CPACK_DEBIAN_PACKAGE_INSTALL_PREFIX /playnet/ra) SET(CPACK_DEBIAN_PACKAGE_DEPENDS libopenthreads-dev (= 2.8.3-4), lua5.1 (= 5.1.4-5

[CMake] Revision header

2012-01-21 Thread Oliver Smith
to relink the executables the second time because of an pointless upversion :) - Oliver -- 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] Compile multiple-sources at a time?

2012-01-19 Thread Oliver kfsone Smith
I realize not every build environment supports the option, but is there a way to get CMake to generate Makefiles which aggregate source files, e.g. $ g++ -pipe -o library.a lib1.cpp lib2.cpp lib3.cpp $ g++ -pipe -o exeutable file1.cpp file2.cpp file3.cpp library.a - Oliver -- Powered

Re: [cmake-developers] Better Eclipse CDT support

2011-05-09 Thread Oliver Buchtala
Am 09.05.2011 23:32, schrieb Manuel Klimek: On Mon, May 9, 2011 at 2:30 PM, Manuel Klimek kli...@google.com wrote: On Sun, May 8, 2011 at 7:38 PM, Oliver Buchtala oliver.bucht...@jku.at wrote: Hi Alex, Manuel, and other interested watchers, I'd like to introduce a preview version

Re: [cmake-developers] Better Eclipse CDT support

2011-05-06 Thread Oliver Buchtala
Am 06.05.2011 23:26, schrieb Alexander Neundorf: On Saturday 30 April 2011, Oliver Buchtala wrote: Am 30.04.2011 19:56, schrieb Oliver Buchtala: Am 30.04.2011 19:29, schrieb Alexander Neundorf: Nowadays, there are ways to deal better with that: linked folders, virtual folders and linked

Re: [cmake-developers] Better Eclipse CDT support

2011-05-06 Thread Oliver Buchtala
Am 07.05.2011 00:02, schrieb Alexander Neundorf: On Friday 06 May 2011, Oliver Buchtala wrote: Am 06.05.2011 23:26, schrieb Alexander Neundorf: ... When I look around my colleagues I find basically only positive remarks about the svn support in Eclipse ;-) This is also my impression from

Re: [cmake-developers] Better Eclipse CDT support

2011-04-30 Thread Oliver Buchtala
Am 30.04.2011 19:56, schrieb Oliver Buchtala: Am 30.04.2011 19:29, schrieb Alexander Neundorf: Nowadays, there are ways to deal better with that: linked folders, virtual folders and linked resources I'm not using Eclipse actively myself, I'm just maintaining the generator. But what people

Re: [cmake-developers] Better Eclipse CDT support

2011-04-29 Thread Oliver Buchtala
Am 29.04.2011 20:49, schrieb Alexander Neundorf: On Friday 29 April 2011, Oliver Buchtala wrote: Am 29.04.2011 09:49, schrieb Eric Noulard: 2011/4/29 Oliver Buchtala oliver.bucht...@jku.at: As described before, I added links to the (main) project's source and build folder. You enable

Re: [cmake-developers] Better Eclipse CDT support

2011-04-28 Thread Oliver Buchtala
Am 28.04.2011 22:57, schrieb Alexander Neundorf: On Wednesday 27 April 2011, Oliver Buchtala wrote: Forgot to feed the list... Am 27.04.2011 22:01, schrieb Alexander Neundorf: On Friday 22 April 2011, Oliver Buchtala wrote: ... Here we go: git://github.com/oliver/cmake_cdt7.git I

Re: [cmake-developers] Better Eclipse CDT support

2011-04-28 Thread Oliver Buchtala
Am 29.04.2011 00:03, schrieb Oliver Buchtala: Am 28.04.2011 23:30, schrieb Oliver Buchtala: Am 28.04.2011 22:57, schrieb Alexander Neundorf: On Wednesday 27 April 2011, Oliver Buchtala wrote: Forgot to feed the list... Am 27.04.2011 22:01, schrieb Alexander Neundorf: On Friday 22 April 2011

Re: [cmake-developers] Better Eclipse CDT support

2011-04-27 Thread Oliver Buchtala
Am 27.04.2011 21:28, schrieb Alexander Neundorf: On Monday 25 April 2011, Oliver Buchtala wrote: Am 20.04.2011 22:09, schrieb Alexander Neundorf: ... What would you expect there ? Some structure that gives me acces to the sources of the targets. I suppose, you try to achieve this with sub

Re: [cmake-developers] Better Eclipse CDT support

2011-04-24 Thread Oliver Buchtala
Am 20.04.2011 22:09, schrieb Alexander Neundorf: ... What would you expect there ? Some structure that gives me acces to the sources of the targets. I suppose, you try to achieve this with sub-projects, but it does not work properly in my case. How does it work not properly ? Don't you have

Re: [cmake-developers] Better Eclipse CDT support

2011-04-22 Thread Oliver Buchtala
Am 20.04.2011 22:09, schrieb Alexander Neundorf: On Wednesday 20 April 2011, Oliver Buchtala wrote: Hi Alex, ... What would you expect there ? Some structure that gives me acces to the sources of the targets. I suppose, you try to achieve this with sub-projects, but it does not work

Re: [CMake] Post-Build commands on custom targets are always executed?

2011-04-20 Thread Oliver Buchtala
Am 19.04.2011 16:10, schrieb David Cole: On Mon, Apr 18, 2011 at 11:22 PM, Michael Hertling mhertl...@online.de mailto:mhertl...@online.de wrote: On 04/19/2011 02:17 AM, Oliver Buchtala wrote: Am 18.04.2011 06:58, schrieb Michael Hertling: On 04/16/2011 12:05 AM, Oliver

Re: [CMake] Post-Build commands on custom targets are always executed?

2011-04-18 Thread Oliver Buchtala
Am 18.04.2011 06:58, schrieb Michael Hertling: On 04/16/2011 12:05 AM, Oliver Buchtala wrote: Am 15.04.2011 23:48, schrieb Michael Hertling: On 04/15/2011 11:22 PM, Oliver Buchtala wrote: Hi, I observe that a custom command attached to a custom target as POST-BUILD is launched on every

Re: [cmake-developers] Better Eclipse CDT support

2011-04-17 Thread Oliver Buchtala
Hi Alex, Am 17.04.2011 20:46, schrieb Alexander Neundorf: Hi, On Sunday 17 April 2011, Oliver Buchtala wrote: Hi, I like to get involved offering work on the Eclipse CDT generator. Currently, the generated project setting is not very Eclipse'ish. There have been some changes in the 2.8.x

[CMake] Post-Build commands on custom targets are always executed?

2011-04-15 Thread Oliver Buchtala
Hi, I observe that a custom command attached to a custom target as POST-BUILD is launched on every build. Is that true? or is it a misconfiguration on my side? Bye, Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Post-Build commands on custom targets are always executed?

2011-04-15 Thread Oliver Buchtala
Am 15.04.2011 23:48, schrieb Michael Hertling: On 04/15/2011 11:22 PM, Oliver Buchtala wrote: Hi, I observe that a custom command attached to a custom target as POST-BUILD is launched on every build. Is that true? or is it a misconfiguration on my side? Bye, Oliver A custom target

[CMake] Overriding Win-Registry search in UseJNI.cmake

2011-04-05 Thread Oliver Buchtala
, but unfortunately UseJNI prefers the Windows-Registry entries above all other search paths. Did I miss something? Shall I file an issue? Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource

Re: [CMake] Overriding Win-Registry search in UseJNI.cmake

2011-04-05 Thread Oliver Buchtala
Am 05.04.2011 13:12, schrieb Oliver Buchtala: Hello, I am working with CMake 2.8 and using UseJNI.cmake I have a JDK installed locally (registered in Win-Registry) but want to configure a project to use a different JDK lying on my disk. Looking at UseJNI.cmake I find that the environment

Re: [CMake] Overriding Win-Registry search in UseJNI.cmake

2011-04-05 Thread Oliver Buchtala
Am 05.04.2011 16:33, schrieb David Cole: On Tue, Apr 5, 2011 at 7:16 AM, Oliver Buchtala oliver.bucht...@jku.at mailto:oliver.bucht...@jku.at wrote: Am 05.04.2011 13:12, schrieb Oliver Buchtala: Hello, I am working with CMake 2.8 and using UseJNI.cmake I have

Re: [CMake] Overriding Win-Registry search in UseJNI.cmake

2011-04-05 Thread Oliver Buchtala
Am 05.04.2011 17:11, schrieb Oliver Buchtala: Am 05.04.2011 16:33, schrieb David Cole: On Tue, Apr 5, 2011 at 7:16 AM, Oliver Buchtala oliver.bucht...@jku.at mailto:oliver.bucht...@jku.at wrote: Am 05.04.2011 13:12, schrieb Oliver Buchtala: Hello, I am working with CMake

[CMake] Outputting VS projects under Linux

2011-04-05 Thread Oliver kfsone Smith
Is it possible to create visual studio/msbuild projects under Linux? (It would ease the flow of our automation chain, and it'd be handy for working with MonoDevelop). - Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
, but the generated solution does not contain anything like solution folders. What could be my problem? Bye, Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
Am 18.03.2011 18:31, schrieb Robert Bielik: Hi Oliver, I use this feature and only thing that differs for me is that I do: SET_TARGET_PROPERTIES( myCore PROPERTIES FOLDER Core ) Hope that helps, /Rob ___ Powered by www.kitware.com

Re: [CMake] How to USE_FOLDERS correctly?

2011-03-18 Thread Oliver Buchtala
Am 18.03.2011 18:51, schrieb David Cole: On Fri, Mar 18, 2011 at 1:15 PM, Oliver Buchtala oliver.bucht...@jku.at wrote: Hello, I have problems using the project folder feature described in the documentation for CMake 2.8.4 (http://www.cmake.org/cmake/help/cmake-2-8-docs.html

Re: [CMake] header files with visual studio

2010-11-16 Thread Oliver kfsone Smith
... It becomes worth it. - Oliver ___ 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

Re: [CMake] header files with visual studio

2010-11-13 Thread Oliver kfsone Smith
in the first place because we probably wouldn't be /using/ CMake. So I don't understand why you would feel differently about having those lists automatically transcribed to the resultant IDE solution/project files. - Oliver ___ Powered

Re: [CMake] header files with visual studio

2010-11-13 Thread Oliver kfsone Smith
Michael Hertling said the following on 11/11/2010 5:23 AM: Clearly, the downside is the usage of an external dependency scanner. Yep, but radically better than having to try and manually duplicate/recreate/maintain the dependency list :) Thank you for your posts :) - Oliver

Re: [CMake] header files with visual studio

2010-11-09 Thread Oliver kfsone Smith
,hh,hpp} into the CMakeLists file is nonsensical. What I was hoping to achieve was a Header Files folder along side each Source Files folder so that the headers were pertinent to any given project within a solution. http://www.kfs.org/~oliver/solution.jpg

Re: [CMake] header files with visual studio

2010-11-09 Thread Oliver kfsone Smith
Michael Hertling said the following on 11/6/2010 7:39 AM: stored in the ${CMAKE_BINARY_DIR}/filelist.dat script as an assignment to the variable FILELIST. Subsequently, this filelist.dat is read via INCLUDE(), so CMake keeps track of it, i.e. changing the filelist.dat results in a rebuild.

Re: [CMake] header files with visual studio

2010-11-05 Thread Oliver kfsone Smith
: Is there a way to have CMake automatically add included headers to visual studio project files or do you need to use a dependency system to generate the lists by hand? - Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects

[CMake] header files with visual studio

2010-11-04 Thread Oliver kfsone Smith
Checked the faq and googled as much as I could but I couldn't find anything describing how to make visual studio include header files in the solution/project files? - Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects

Re: [CMake] Is there really any cmake support?

2010-03-28 Thread Oliver Smith
-connection behavior to sort of make it go away. Thus far, I've gotten better support out of the CMake developers than I have from several commercial software providers, including Intel. - Oliver ___ Powered by www.kitware.com Visit other Kitware open

[CMake] ICC under Linux

2010-03-23 Thread Oliver Smith
When you tell CMake under Linux to use ICC, there's no automatic detection of the custom archiver and linker that ICC requires. The following lines fix that, but would it be possible to add them to the stock CMake files someplace so that using ICC becomes slightly more transparent? #

Re: [CMake] This has to have been asked before...

2010-03-08 Thread Oliver kfsone Smith
Michael Wild said the following on 3/8/2010 1:35 PM: What I did is define custom functions that wrap add_executable, add_library and target_link_libraries. Works like a charm ;-) *DUH!* Thank you :) - Oliver ___ Powered by www.kitware.com

[CMake] This has to have been asked before...

2010-03-06 Thread Oliver Smith
CMake include, but that just confused the bejeezus out of me, not helped by the fact that it didn't work :) - Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please

Re: [CMake] This has to have been asked before...

2010-03-06 Thread Oliver Smith
On 3/6/2010 6:39 PM, Oliver Smith wrote: I want to add a target (a gcc precompiled header) as a dependency for every target so it'll get compiled with the flags for that particular target, including altering the resulting file name. I should say: /automatically/ add... I don't want to add them

Re: [CMake] Adding a generated source to all multiple targets

2010-02-24 Thread Oliver kfsone Smith
I'm not missing some mechanism for saying add a variation of this to all targets or add a variation of this to this list of targets. - Oliver ___ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com

Re: [CMake] Adding a generated source to all multiple targets

2010-02-24 Thread Oliver kfsone Smith
everything project relative, but then the size of this project and the number of sub-targets, and the huge amount of shared code between targets means that things aren't really organized by target, so all of the targets sit in one top-level project. - Oliver

[CMake] Adding a generated source to all multiple targets

2010-02-23 Thread Oliver Smith
a precompiled header to each target (for my limited subset of platforms). - Oliver ___ 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

[CMake] Adding pre-compiled header support easily (add_generated_source)

2010-02-17 Thread Oliver Smith
${Project_SOURCE_DIR}/src/common-depends.cpp ${Project_SOURCE_DIR}/src/serverDatabase.cpp ) set_property(TARGET server PROPERTY COMPILE_DEFINITIONS PROJ_SERVER PROJ_DATABASE=${PROJ_DATABASE}) target_link_libraries(common ${DATABASE_LIBRARIES}) - Oliver

[CMake] Single-shot compilation

2010-02-16 Thread Oliver Smith
On systems that support it, I'm wanting to do the equivalent of: $(CC) -pipe source1.cpp source2.cpp source3.cpp -fwhole-program I can't figure out how to tell CMake to pass multiple sources to the compiler at once. (Using versions 2.6 and 2.8) - Oliver

[CMake] Cmake Solaris 10

2009-05-07 Thread Oliver Trebbe
Hello, i cant find any workaround for compiling cmake under solaris 10. I just saw threads or mails to the list regarding my problem compiling cmake on solaris 10 where there is the problem with the static linked library. (libcmsys.a) I´d be open for any solution. Regards Oliver -- Oliver

[CMake] FIND_LIBRARY not using CMAKE_FIND_LIBRARY_SUFFIXES

2008-12-03 Thread Oliver Zheng
: FIND_LIBRARY(NAMES test.a HINTS /usr/local/lib) Is this a known bug (that's only prevalent on Cygwin)? To solve my problem with FindBoost, I had to manually add in the .a into the FIND_LIBRARY command. Thanks, Oliver ___ CMake mailing list CMake

Re: [CMake] link problem with cmake

2008-10-06 Thread Oliver Dole
On 10/5/08, Alexander Neundorf [EMAIL PROTECTED] wrote: On Sunday 05 October 2008, Oliver Dole wrote: Hello, I have a link problem with cmake on Linux. I work on owb, a webkit based browser, which uses cmake as build system. Here is how my cmake system works: - build balwtf.a

[CMake] link problem with cmake

2008-10-05 Thread Oliver Dole
Hello, I have a link problem with cmake on Linux. I work on owb, a webkit based browser, which uses cmake as build system. Here is how my cmake system works: - build balwtf.a, kjs.a and webcore.a - build libwebkit.so which requires balwtf.a, kjs.a and webcore.a - then I build owb. From my point

Re: [CMake] How to build a library divided in many directories ?

2008-02-25 Thread Oliver Dole
Hello, On 2/25/08, packadal [EMAIL PROTECTED] wrote: Hi, I searched for an answer to this question in vain, so I'm asking here. I am trying to build a library wich is spead among many subdirectories using CMake, but I can't seem to do it the Right Way. Looks like the right way to do this

Re: [CMake] Pass variables to sub directory CMakeLists.txt

2008-02-21 Thread Oliver Dole
Hello, On 2/21/08, Vandenbroucke Sander [EMAIL PROTECTED] wrote: Hi, I want to pass a variable to CMakeLists.txt's in sub directories: Top directory CMakeLists.txt: set( VAR1 ) add_subdirectory (subdir1) add_subdirectory (subdir2) Each subdir CMakeLists.txt: ... set( VAR1

Re: [CMake] Appending paths to a variable

2008-02-20 Thread Oliver Dole
Hello, On 2/20/08, Robert Bielik [EMAIL PROTECTED] wrote: I have a structure where I include all subdirs via FILE(GLOB.. and FOREACH and within each subdir CMakeLists.txt I want to add a path to be used with INCLUDE_DIRECTORIES in the main CMakeLists.txt I tried SET(INCL_DIRS ${INCL_DIRS}

Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/11/27, Daniel Rueckert [EMAIL PROTECTED]: Hi, I am trying to build some statically linked executables on a linux box. I have added the -static option to the linker flags and specified static link libraries but for some reason cmake still adds the option -Wl,-Bdynamic flag to the linker

Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/12/3, Bill Hoffman [EMAIL PROTECTED]: Oliver Dole wrote: 2007/11/27, Daniel Rueckert [EMAIL PROTECTED]: Hi, I am trying to build some statically linked executables on a linux box. I have added the -static option to the linker flags and specified static link libraries but for some

Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/12/3, Hendrik Sattler [EMAIL PROTECTED]: Quoting Oliver Dole [EMAIL PROTECTED]: The problem is that I use pkg-config (and stuff like that) to retrieve my libraries. So CMake does not know wether it is static or shared libraries to use. Nonetheless I have found a workaround thanks

[CMake] Module to detect SDL_GFX

2007-08-14 Thread Oliver Dole
Hello, You will find as an attachment a dummy cmake module which automates SDL_GFX detection as it is already done for SDL_ttf, SDL_image... This module is in fact a copy and paste with of course modifications of SDL_image module done by Eric Wing. Note that I have only tested it on Linux... So

Re: [CMake] Is CMake powerful enough?

2007-06-08 Thread Oliver Kullmann
not the only control freak out there). Thanks Alex! Brandon Van Every wrote: Oliver sounds like he wants crazy dynamic everything with all sorts of elegant CS interfaces and research possibilities etc. That's correct, I try my best

[CMake] Is CMake powerful enough?

2007-06-07 Thread Oliver Kullmann
convenient and well, but what it not does is very hard to integrate? -- We would be thankful for any comments! Oliver -- Dr. Oliver Kullmann Computer Science Department University of Wales Swansea Faraday Building, Singleton Park Swansea SA2 8PP, UK http://cs-svr1.swan.ac.uk/~csoliver

[CMake] what to download for Linux??

2007-06-04 Thread Oliver Kullmann
to use when (just follow the instructions, but there are none). I couldn't make good use of the search functions for the e-mail lists neither (always end up with some google search). Any hint would be appreciated. Thanks Oliver ___ CMake mailing list