1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-23 02:35:57 +01:00

Remove include directories CMakeLists files

* simply consolidate 6 files into 6 lines

* narrowed glob on inc and simplified
This commit is contained in:
solvingj
2017-09-14 12:32:27 -04:00
committed by Matias Fontanini
parent 171067eb22
commit e48f64daac
7 changed files with 9 additions and 36 deletions

View File

@@ -263,7 +263,6 @@ ADD_CUSTOM_TARGET(uninstall
# ******************
# Add subdirectories
# ******************
ADD_SUBDIRECTORY(include)
ADD_SUBDIRECTORY(src)
IF(LIBTINS_BUILD_EXAMPLES)
@@ -343,3 +342,12 @@ INSTALL(
DESTINATION CMake
COMPONENT dev
)
#Recursively list of all headers, with paths relative to include/tins
FILE(GLOB_RECURSE INCLUDE_FILES "include/tins/*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION .
COMPONENT Headers
)

View File

@@ -1 +0,0 @@
ADD_SUBDIRECTORY(tins)

View File

@@ -1,10 +0,0 @@
FILE(GLOB INCLUDE_FILES "*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION include/tins
COMPONENT Headers
)
ADD_SUBDIRECTORY(dot11)
ADD_SUBDIRECTORY(tcp_ip)
ADD_SUBDIRECTORY(detail)
ADD_SUBDIRECTORY(utils)

View File

@@ -1,6 +0,0 @@
FILE(GLOB INCLUDE_FILES "*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION include/tins/detail
COMPONENT Headers
)

View File

@@ -1,6 +0,0 @@
FILE(GLOB INCLUDE_FILES "*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION include/tins/dot11
COMPONENT Headers
)

View File

@@ -1,6 +0,0 @@
FILE(GLOB INCLUDE_FILES "*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION include/tins/tcp_ip
COMPONENT Headers
)

View File

@@ -1,6 +0,0 @@
FILE(GLOB INCLUDE_FILES "*.h")
INSTALL(
FILES ${INCLUDE_FILES}
DESTINATION include/tins/utils
COMPONENT Headers
)