Skip to content

Commit

Permalink
install headers
Browse files Browse the repository at this point in the history
With this commit, headers will be installed inside $PREFIX/svf/ directory
  • Loading branch information
hongxuchen committed Oct 25, 2018
1 parent 90c9855 commit 8d421de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
Release/
Debug/
Release*/
Debug*/
build/
build*
html/
Release+Asserts/
Debug+Asserts/
Release/
autoconf/
tests/result/
doxygen/
Expand Down
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,10 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include
add_subdirectory(lib)
add_subdirectory(tools)

INSTALL(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/include/ ${CMAKE_CURRENT_BINARY_DIR}/include/
COMPONENT devel
DESTINATION include/svf
FILES_MATCHING
PATTERN "**/*.h"
)

0 comments on commit 8d421de

Please sign in to comment.