Commit 30fbcf69 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

ENH: CMake Module Core scans include/ for header files and adds them to VS

parent 203f9089
......@@ -8,6 +8,12 @@ set( ${MODULE}_INCLUDE_DIRS
file(GLOB ${MODULE}_HEADER_FILES "${${MODULE}_SOURCE_DIR}/*/include/*.*")
#@Kasper: file GLOB is generally disencouraged for source files (missing files are not detected and CMake doesn't know if the project has to be updated when due to a checkout extra source files are in the tree), but since this I think is not really an issue for header files...
#I read: CMake will figure out that they're headers; it won't try to build them.
# Export libraries
......@@ -29,5 +35,5 @@ set( ${MODULE}_SOURCE_FILES
# Compile library
add_library( ${MODULE} STATIC "${${MODULE}_SOURCE_FILES}" )
target_link_libraries( ${MODULE} ${ELASTIX_LIBRARIES} )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment