[CMake] Compiling static and shared library only once (wiki seems to have an error)

Shaun Cummins cumminss at gmail.com
Fri Apr 17 14:13:40 EDT 2009


Thanks, that solves one problem. I still haven't found a way to create
both shared and static libraries by only compiling the source code
once (on Linux). I can generate both types of libraries in one make
command but each source file is compiled twice.

Does anyone know how to do this?

On Thu, Apr 16, 2009 at 7:06 PM, Michael Jackson
<mike.jackson at bluequartz.net> wrote:
> make VERBOSE=1
>
> _________________________________________________________
> Mike Jackson                  mike.jackson at bluequartz.net
> BlueQuartz Software                    www.bluequartz.net
> Principal Software Engineer                  Dayton, Ohio
>
>
>
> On Apr 16, 2009, at 8:19 PM, Shaun Cummins wrote:
>
>> Is it possible to see the actual gcc/g++ commands that cmake uses? I
>> can't find a log of them anywhere.
>
>


More information about the CMake mailing list