[CMake] shared lib on mac
Bill Hoffman
bill.hoffman at kitware.com
Mon Mar 2 15:27:19 EST 2009
Alexander Neundorf wrote:
> On Monday 02 March 2009, Nicolas Slythe (Intern) wrote:
>> SET(TARGET_SOURCE
>> ./utils/utils.cxx
>> ./test/test.cxx
>> ./test/test1.cxx
>> )
>>
>> ADD_DEFINITIONS (
>> -DK_NODLL
>> -DK_DISABLE_UI
>> )
>>
>> ADD_LIBRARY (
>> test
>> SHARED
>> ${TARGET_SOURCE}
>> )
>
> I don't have a mac here, but here on my Linux machine this works.
> Did you try this on a clean build tree ?
> Which version of cmake ?
> Makefile generator or Xcode ?
> Does the -DK_NODLL maybe cause some strange things ?
>
What is the output of make VERBOSE=1?
-Bill
More information about the CMake
mailing list