Commit 2dfd12de authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Moved external header files into separate 3rdparty directory

The separation is necessary if the external code has a different license
and it is nice even if they have the same license as TNL.
parent 2d27f961
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -330,6 +330,7 @@ endif()
#endif()

INCLUDE_DIRECTORIES( src )
INCLUDE_DIRECTORIES( src/3rdparty )
INCLUDE_DIRECTORIES( ${PROJECT_BUILD_PATH} )
LINK_DIRECTORIES( ${LIBRARY_OUTPUT_PATH} )

+3 −0
Original line number Diff line number Diff line
install( DIRECTORY mpark Leksys TYPE INCLUDE
         MESSAGE_NEVER
         FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" )
+8 −6
Original line number Diff line number Diff line
INSTALL( DIRECTORY TNL/ DESTINATION ${TNL_TARGET_INCLUDE_DIRECTORY}
add_subdirectory( 3rdparty )

install( DIRECTORY TNL/ DESTINATION ${TNL_TARGET_INCLUDE_DIRECTORY}
         MESSAGE_NEVER
         FILES_MATCHING PATTERN "*.h" PATTERN "*.hpp" )

@@ -14,20 +16,20 @@ if( ${WITH_EXAMPLES} )
endif()

if( ${WITH_BENCHMARKS} )
   ADD_SUBDIRECTORY( Benchmarks )
   add_subdirectory( Benchmarks )
endif()

if( ${WITH_TOOLS} )
   ADD_SUBDIRECTORY( Tools )
   add_subdirectory( Tools )
endif()

if( ${WITH_TESTS} )
   ADD_SUBDIRECTORY( UnitTests )
   add_subdirectory( UnitTests )
endif()
if( ${WITH_MATRIX_TESTS} )
   ADD_SUBDIRECTORY( UnitTests/Matrices )
   add_subdirectory( UnitTests/Matrices )
endif()

if( ${WITH_PYTHON} )
   ADD_SUBDIRECTORY( Python )
   add_subdirectory( Python )
endif()
Loading