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:
committed by
Matias Fontanini
parent
171067eb22
commit
e48f64daac
@@ -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
|
||||
)
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
ADD_SUBDIRECTORY(tins)
|
||||
@@ -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)
|
||||
@@ -1,6 +0,0 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins/detail
|
||||
COMPONENT Headers
|
||||
)
|
||||
@@ -1,6 +0,0 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins/dot11
|
||||
COMPONENT Headers
|
||||
)
|
||||
@@ -1,6 +0,0 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins/tcp_ip
|
||||
COMPONENT Headers
|
||||
)
|
||||
@@ -1,6 +0,0 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins/utils
|
||||
COMPONENT Headers
|
||||
)
|
||||
Reference in New Issue
Block a user