1
0
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:
Matias Fontanini
2014-10-17 12:14:00 -03:00
parent a1636896aa
commit 9ee90755d1
72 changed files with 20 additions and 10 deletions

View File

@@ -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()

View File

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

View 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
View 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

View File

@@ -1,4 +1,4 @@
SET(LIBTINS_INCLUDE_DIR ../include)
SET(LIBTINS_INCLUDE_DIR ../include/tins/)
INCLUDE_DIRECTORIES(
${LIBTINS_INCLUDE_DIR}