Re: [CMake] VC8 projects generated multiple times

2006-06-14 Thread Laurentiu Nicolae
Hi all, I changed the GenerateProject macro to cache my file lists. In this way I'm only globbing once. I included the changed macro below, maybe someone will find it useful. We gained about 20% using the caches, which makes it worthwile. I somehow expected more. CMake takes some time to analyze

Re: [CMake] WIN32 definition gone in cmake 2.4.2

2006-06-14 Thread Mike Talbot
Jan Woetzel wrote: Mike Talbot wrote: 2.4.2 ... doesn't define the preprocessor symbol WIN32 ... for the VS 7.1 generator. I cannot confirm this. It works here as expected - with cmake 2.4.2 on Windows - using Visual studio .net 2003 generator. Have a look at a hello world example,

[CMake] framework, plugin and umbrella frameworks with cmake ?

2006-06-14 Thread Alexander Neundorf
Hi, AFAIK cmake doesn't support building these types of frameworks out-of-the-box. Is it possible to do this using cmake macros ? Or is it even planned to implement it directly in cmake ? Bye Alex -- Echte DSL-Flatrate dauerhaft für 0,- Euro*! Feel free mit GMX DSL!

Re: [CMake] g++ -frepo and cmake

2006-06-14 Thread Brad King
Manuel Klimek wrote: Hi, i'm trying to use cmake with g++ to build template using code with -frepo for shared libraries. With -frepo g++ automatically includes the object code only for template instantiations that are needed at link time. If you link an executable with g++, say g++ -frepo -o

Re: [CMake] target_link_libraries doubt

2006-06-14 Thread Alexander Neundorf
Von: Vikas Kumar [EMAIL PROTECTED] Hi I have a library that links to other shared libraries. For example I am trying to build libFoo.so , which links to a shared library libBar.so. How do i link in libBar.so statically instead ? is there a way to do that like by saying -static just

Re: [CMake] target_link_libraries doubt

2006-06-14 Thread Vikas Kumar
I understand that it is currently not possible. But take the case where you as a software product developer, are given a proprietary .dll/.so file and you are creating a library that links with that file. If ld -o foo.so -static bar.so foo.o , can be written in a makefile and made to work, why