Skip to content

Commit

Permalink
improves to include/shogun cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
Björn Esser committed Dec 30, 2013
1 parent dbecf53 commit c022e87
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion include/shogun/CMakeLists.txt
Expand Up @@ -23,4 +23,11 @@ SET( ${PROJECT_VAR_PREFIX}INCLUDE_DIRS


##### Include subdirs for processing #####
ADD_SUBDIRECTORY( lib )
ADD_SUBDIRECTORY( lib )


##### Create header-files manifest #####
FILE( GLOB_RECURSE ${PROJECT_VAR_PREFIX}HEADERS RELATIVE "${CMAKE_CURRENT_SOURCE_DIR}" *.h )
FOREACH( _HEADER ${${PROJECT_VAR_PREFIX}HEADERS} ${${PROJECT_VAR_PREFIX}AUTO_HEADERS} )
FILE( APPEND ${CMAKE_CURRENT_BINARY_DIR}/headers_list.txt "${_HEADER}\n" )
ENDFOREACH( _HEADER ${${PROJECT_VAR_PREFIX}HEADERS} ${${PROJECT_VAR_PREFIX}AUTO_HEADERS} )

0 comments on commit c022e87

Please sign in to comment.