# # Set the project name. # PROJECT (VTKESQUI) # # Assume everything is set up correctly for build. # # If some requirements are not met, set it to 0. # In that case, the build won't be done. # SET (VTKESQUI_CAN_BUILD 1) # # Load CMake commands that you probably should not modify. # INCLUDE (${VTKESQUI_SOURCE_DIR}/CMakeOptions.cmake) # # If everything is OK, then go into the sub directories and build. # IF (VTKESQUI_CAN_BUILD) # # Here is where you can list the sub-directories holding your local # classes. Sorting classes by 'package' type like VTK does (Common, # Rendering, Filtering, Imaging, IO, etc.) is a good thing and prevents # numerous dependencies problems. # SUBDIRS ( Tools ColDetect Colisions Comun T2Mesh #Haptic #BEM ) # # You can put your include path(s) here # INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/Colisions) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/ColDetect) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/Tools) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/Comun) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/BEM) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/T2Mesh) INCLUDE_DIRECTORIES(${VTKESQUI_SOURCE_DIR}/Haptic) # # Build examples too ? # OPTION(BUILD_EXAMPLES "Build examples." OFF) IF (BUILD_EXAMPLES) SUBDIRS(Ejemplo) ENDIF (BUILD_EXAMPLES) # # Common configuration settings # # Do not worry about this one. # CONFIGURE_FILE( ${VTKESQUI_SOURCE_DIR}/vtkesquiConfigure.h.in ${VTKESQUI_BINARY_DIR}/vtkesquiConfigure.h ) INCLUDE_DIRECTORIES(${VTKESQUI_BINARY_DIR}) ENDIF (VTKESQUI_CAN_BUILD)