# CMakeListsLocal.txt sample file. # Copy it to CMakeListsLocal.txt and edit to match your files. # The names of the source files for your module go here. Include # abstract files noted below in this list too. Do not include file # suffixes. # # Change all 'MyClass' to appropriate source file name # and 'MYCLASS' to your module name (all CAPS) # # note: - SET replaced SOURCE_FILES for cmake 1.6 SET(LOCAL_MODULE_SRCS vtkAffineSegment.cxx #... ) ## classes that one does not want tcl wrapped SET ( LOCAL_NO_WRAP_SRCS #vtkMyClassNoWrap.cxx ) # Place names of abstract class implementations here. No file suffixes. # Comment this out if there are no abstracts. # replaced ABSTRACT_FILES from cmake before 1.6 #SET_SOURCE_FILES_PROPERTIES ( #vtkMyAbstractClass1.cxx #ABSTRACT #) # You can add additional include paths here INCLUDE_DIRECTORIES( /scratch/slicer2_yogesh/slicer2/Modules/vtkAffineSegment/cxx ) #### if you code depends on SlicerBase, uncomment the #### INCLUDE_DIRECTORIES and LINK_LIBRARIES #### lines below #### #INCLUDE_DIRECTORIES( # ${VTKSLICERBASE_SOURCE_DIR}/cxx # ${VTKSLICERBASE_BUILD_DIR} #) #LINK_LIBRARIES (${VTKSLICERBASE_BUILD_LIB}) # Add additional directories to look in for libraries #LINK_DIRECTORIES( #${VTKMYCLASS_SOURCE_DIR}/lib #) # To add a list of additional libraries you need to link with, uncomment # the following line. The library names should omit the "lib" and any # trailing suffix. # LINK_LIBRARIES (${LOCAL_LIBRARY_BASENAME} library_names_here) # Here's the rule to create the implementation C++ library. # It should happen in the CMakeLists.txt file that includes this one, # but because of a CMake bug that doesn't work. # ADD_LIBRARY (${LOCAL_LIBRARY_BASENAME} ${LOCAL_MODULE_SRCS} ${LOCAL_NO_WRAP_SRCS})