mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Moved headers to include/tins.
This commit is contained in:
@@ -102,8 +102,8 @@ SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${PROJECT_BINARY_DIR}/lib)
|
||||
|
||||
# Congiguration file
|
||||
CONFIGURE_FILE(
|
||||
"${PROJECT_SOURCE_DIR}/include/config.h.in"
|
||||
"${PROJECT_SOURCE_DIR}/include/config.h"
|
||||
"${PROJECT_SOURCE_DIR}/include/tins/config.h.in"
|
||||
"${PROJECT_SOURCE_DIR}/include/tins/config.h"
|
||||
)
|
||||
|
||||
ENABLE_TESTING()
|
||||
|
||||
@@ -1,7 +1 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins
|
||||
COMPONENT Headers
|
||||
)
|
||||
ADD_SUBDIRECTORY(dot11)
|
||||
ADD_SUBDIRECTORY(tins)
|
||||
|
||||
7
include/tins/CMakeLists.txt
Normal file
7
include/tins/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
FILE(GLOB INCLUDE_FILES "*.h")
|
||||
INSTALL(
|
||||
FILES ${INCLUDE_FILES}
|
||||
DESTINATION include/tins
|
||||
COMPONENT Headers
|
||||
)
|
||||
ADD_SUBDIRECTORY(dot11)
|
||||
9
include/tins/config.h
Normal file
9
include/tins/config.h
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
/* Define if the compiler supports basic C++11 syntax */
|
||||
#define HAVE_CXX11
|
||||
|
||||
/* Have IEEE 802.11 support */
|
||||
#define HAVE_DOT11
|
||||
|
||||
/* Have WPA2 decryption library */
|
||||
#define HAVE_WPA2_DECRYPTION
|
||||
@@ -1,4 +1,4 @@
|
||||
SET(LIBTINS_INCLUDE_DIR ../include)
|
||||
SET(LIBTINS_INCLUDE_DIR ../include/tins/)
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
${LIBTINS_INCLUDE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user