[CMake] LINKER_LANGUAGE Fortran C CXX project
David Cole
david.cole at kitware.com
Tue Aug 7 14:45:21 EDT 2007
The first argument of SET_TARGET_PROPERTIES should be the same as the
first argument of your ADD_LIBRARY or ADD_EXECUTABLE command.
You need one SET_TARGET_PROPERTIES for each library or executable
target where you have a mixture of C, CXX and Fortran code...
HTH,
David
On 8/7/07, Marie-Christine Vallet <mmvallet at ucdavis.edu> wrote:
> David Cole wrote:
> > Your first one should work. But it should be "CXX" with uppercase X
> > characters.
> That is the case, it's just a Typo
> > And the value of "TARGET" must be set prior to invoking
> > SET_TARGET_PROPERTIES using ${TARGET} -- are you sure the value of
> > ${TARGET} is correct...?
> >
> How to I fix that?
> I tried the project name, and the ${_target} but it did not work either.
> I tried set(TARGET myprojectname) and that did not work.
> thanks
> Marie
>
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
More information about the CMake
mailing list