[vtk-developers] cmake: shared/static libs
    Randy Heiland 
    heiland at ncsa.uiuc.edu
       
    Thu Nov 29 06:16:42 EST 2001
    
    
  
I'm still new to this cmake world, but here's a question...
I built with:
BUILD_SHARED_LIBS:BOOL=ON
and all went well -- I got shared libs.
Then, for various reasons, I decided I wanted to build static libs, so I edited
CMakeCache.txt and set:
BUILD_SHARED_LIBS:BOOL=OFF
and reran 'cmake'.  However, it doesn't seem to "undo" all the shared env vars,
e.g.,
vtkCommonPython_LIBRARY_TYPE:INTERNAL=SHARED
 etc.
and so, all the generated Makefiles still build shared libs.
Am I doing something wrong?
--Randy
    
    
More information about the vtk-developers
mailing list