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

Added tests to CMake build system.

This commit is contained in:
Matias Fontanini
2014-08-23 18:50:00 -03:00
parent 3a02bd0a3f
commit 2c2df752d0
4 changed files with 199 additions and 5 deletions

View File

@@ -1,6 +1,10 @@
SET(LIBTINS_INCLUDE_DIR ../include)
INCLUDE_DIRECTORIES(${LIBTINS_INCLUDE_DIR})
INCLUDE_DIRECTORIES(
${LIBTINS_INCLUDE_DIR}
${OPENSSL_INCLUDE_DIR}
${PCAP_INCLUDE_DIR}
)
ADD_LIBRARY(
tins ${LIBTINS_TYPE}
@@ -54,11 +58,10 @@ ADD_LIBRARY(
dot11/dot11_control.cpp
)
TARGET_LINK_LIBRARIES(tins pcap)
TARGET_LINK_LIBRARIES(tins ${PCAP_LIBRARY} ${OPENSSL_LIBRARIES})
SET_TARGET_PROPERTIES(tins PROPERTIES OUTPUT_NAME tins )
SET_TARGET_PROPERTIES(tins PROPERTIES VERSION ${LIBTINS_CPP_VERSION} SOVERSION ${LIBTINS_CPP_VERSION} )
SET_TARGET_PROPERTIES(tins PROPERTIES PUBLIC_HEADER "${PUBLIC_HEADERS}" )
# Install instructions for this target
INSTALL(