[CMake] help with learning add_library

luxInteg lux-integ at btconnect.com
Mon Nov 8 23:19:31 EST 2010


On Monday 08 November 2010 22:21:54 luxInteg wrote:

> ---------------
> set(RUN oddone.o  file2.c file3.c )
> LIST CONTAINS(file2.c file3.c  ${RUN})
> IF (contains )
>   (--compile  file2.c and file3.c into  oddone.o  )
> endif (contains)
> -------------
> advice on whether lists of othrwise is appropriate  would be  appreciated.

problem fixed
one file calls the other


More information about the CMake mailing list