Difference between revisions of "Build IGSTK"

From NAMIC Wiki
Jump to: navigation, search
 
 
Line 2: Line 2:
 
  SET(BUILD_SHARED_LIBS ON)
 
  SET(BUILD_SHARED_LIBS ON)
 
  INCLUDE_DIRECTORIES(
 
  INCLUDE_DIRECTORIES(
....
+
....
 
  ${IGSTK_INCLUDE_DIRS}
 
  ${IGSTK_INCLUDE_DIRS}
}
+
}
  
TARGET_LINK_LIBRARIES(NeuroNav
+
TARGET_LINK_LIBRARIES(NeuroNav
 
   ${IGSTK_LIB}
 
   ${IGSTK_LIB}
}
+
}

Latest revision as of 20:10, 25 January 2007

Home < Build IGSTK
  • Insert the following line in CMakelist of IGSTK to bild IGSTK as shared library
SET(BUILD_SHARED_LIBS ON)
INCLUDE_DIRECTORIES(
....
${IGSTK_INCLUDE_DIRS}
}
TARGET_LINK_LIBRARIES(NeuroNav
 ${IGSTK_LIB}
}