[CMake] Windows library target names

Michael Jackson mike.jackson at bluequartz.net
Thu Jul 22 18:23:29 EDT 2010


On Jul 22, 2010, at 6:17 PM, Olaf van der Spek wrote:

> On Fri, Jul 23, 2010 at 12:00 AM, Michael Jackson
> <mike.jackson at bluequartz.net> wrote:
>> Yes, it was done already (For some of them) which is what I started  
>> with.
>> But what you find is that the CMake files that someone wrote are  
>> kinda
>> "tweaked" for their project and don't really work for yours so you  
>> end up
>
> Tweaked in what way?

Usually they have special CMake variables for the specific project  
that the original sources were being built as part of. These all have  
to be cleaned up. Then sometimes you would like to add some of your  
own special cmake calls to make the project integrate easier with your  
own project. Like adding additional #defines to their generated  
headers so you know if the libraries were built as static or dynamic  
so that you know if you should be setting special defines for the  
compile lines. And it just goes from there.
http://gitorious.bluequartz.net/support-libraries/tiff might be a good  
one to look at.

--
MJ.


More information about the CMake mailing list