[CMake] problem creating a library on mac

Marie-Christine Vallet mmvallet at ucdavis.edu
Thu Sep 27 15:46:13 EDT 2007


Mike Jackson wrote:
> What are the errors you are getting on OS X?
I get an undefined symbol error for several of my variables.
If I do the linking manually, leaving out the library, and putting the 
.o of the library and use the same flags, it works.
>
> Also, at least one comment, I am not sure you want to be setting the 
> PROJECT_BINARY_DIR Variable?
>
> What are you trying to do with this statement:
>
> SET(PROJECT_BINARY_DIR
> ${CMAKE_SOURCE_DIR}/bin)
>
I just wanted the binary to be in this folder  (and all the files 
created by cmake to be in this directory so I could clean up my 
directory more easily )


More information about the CMake mailing list