]> Creatis software - creaRigidRegistration.git/commitdiff
Tried changing to dynamic library, left as static
authortrillos <trillos>
Fri, 16 Oct 2009 14:36:27 +0000 (14:36 +0000)
committertrillos <trillos>
Fri, 16 Oct 2009 14:36:27 +0000 (14:36 +0000)
lib/CMakeLists.txt
lib/Transformer.h

index 03bc324cf6fed08d4f72f357cec309d9dbe15e79..bdd1edbbe99e74255534df4b2b1ef2db9f8ee884 100644 (file)
@@ -37,7 +37,7 @@ IF ( BUILD_${LIBRARY_NAME} )
   # LIBRARY SOURCES (TO BE COMPILED)
   # EITHER LIST ALL .cxx, *.cpp, *.cc IN CURRENT DIR USING NEXT LINE:
   
-  FILE(GLOB ${LIBRARY_NAME}_SOURCES *.cxx *.cpp *.cc)
+  FILE(GLOB ${LIBRARY_NAME}_SOURCES *.cxx *.cpp *.cc *.h)
   
   # OR MANUALLY LIST YOUR FILES WITH NEXT COMMAND (WITHOUT EXTENSION)
   #  SET ( ${LIBRARY_NAME}_SOURCES 
@@ -72,12 +72,12 @@ IF ( BUILD_${LIBRARY_NAME} )
   # if you need to create a static library
   # comment out the following line :
   
-  CREA_ADD_LIBRARY( ${LIBRARY_NAME} )
+  #CREA_ADD_LIBRARY( ${LIBRARY_NAME} )
   
   # and uncomment the 2 lines hereafter:
   
-  ADD_LIBRARY(${LIBRARY_NAME} STATIC  ${${LIBRARY_NAME}_SOURCES})
-  TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES} )
+  ADD_LIBRARY(${LIBRARY_NAME} STATIC  ${${LIBRARY_NAME}_SOURCES})
+  TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${${LIBRARY_NAME}_LINK_LIBRARIES} )
   
   #
   #----------------------------------------------------------------------------
index 7af649466fe6bf2b3c0d5a8ed79994e638e74715..1bf6f063d4e76c9173567f56b936bf5a6b5328af 100644 (file)
@@ -1,6 +1,6 @@
 
-#ifndef _$PROJECT_NAME$SOURCE01_H_
-#define _$PROJECT_NAME$SOURCE01_H_
+#ifndef Transformer_h
+#define Transformer_h
 
 #include "vtkTransform.h"
 #include <vector>