Skip to content
Snippets Groups Projects
CMakeLists.txt 884 B
Newer Older
  • Learn to ignore specific revisions
  • INSTALL( DIRECTORY TNL/ DESTINATION ${TNL_TARGET_INCLUDE_DIRECTORY}
             MESSAGE_NEVER
             FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" )
    
    # TODO: TNL/Experimental/ should be moved somewhere else, the TNL subdirectory
    # should contain only header files
    add_subdirectory( TNL/Experimental )
    
    # Note that it is important to start building examples as soon as possible,
    # because they take the longest time and other stuff can be pipelined before
    # they are finished (at least with Ninja).
    if( ${WITH_EXAMPLES} )
       add_subdirectory( Examples )
    endif()
    
    
    if( ${WITH_BENCHMARKS} )
       ADD_SUBDIRECTORY( Benchmarks )
    endif()
    
    
    Jakub Klinkovský's avatar
    Jakub Klinkovský committed
    if( ${WITH_TOOLS} )
    
       ADD_SUBDIRECTORY( Tools )
    
    Jakub Klinkovský's avatar
    Jakub Klinkovský committed
    endif()
    
    Jakub Klinkovský's avatar
    Jakub Klinkovský committed
    if( ${WITH_TESTS} )
    
       ADD_SUBDIRECTORY( UnitTests )
    
    Jakub Klinkovský's avatar
    Jakub Klinkovský committed
    endif()
    
    if( ${WITH_MATRIX_TESTS} )
       ADD_SUBDIRECTORY( UnitTests/Matrices )
    endif()
    
    
    if( ${WITH_PYTHON} )
       ADD_SUBDIRECTORY( Python )
    endif()