File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -198,12 +198,30 @@ if (BUILD_STATIC)
198
198
set (CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ ${CMAKE_EXE_LINKER_FLAGS} " )
199
199
endif ()
200
200
201
+ # Copying files to release dir
201
202
file (COPY ${CMAKE_CURRENT_SOURCE_DIR} /Sources /UserInterface/Themes
202
203
DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
203
204
205
+ file (COPY ${CMAKE_CURRENT_SOURCE_DIR} /Plugin
206
+ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
207
+
208
+ if (UNIX )
209
+ file (COPY ${CMAKE_CURRENT_SOURCE_DIR} /linux_scripts
210
+ DESTINATION ${CMAKE_CURRENT_BINARY_DIR} )
211
+ endif ()
212
+
213
+ if (BUILD_DOC)
214
+ add_custom_target (build_setupguide ALL
215
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /Docs
216
+ COMMAND "${CMAKE_CURRENT_SOURCE_DIR} /Docs/generate_pdf.sh"
217
+ COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR} /Docs/README.pdf ${CMAKE_CURRENT_BINARY_DIR}
218
+ VERBATIM )
219
+ endif ()
220
+
204
221
target_include_directories (xlinkhandheldassistant PRIVATE ${PCAP_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ${CURSES_INCLUDE_DIRS} ${LibNL_INCLUDE_DIR} )
205
222
target_link_libraries (xlinkhandheldassistant Threads::Threads ${PCAP_LIBRARY} ${Boost_LIBRARIES} ${CURSES_LIBRARIES} ${PLATFORM_SPECIFIC_LIBRARIES} ${LibNL_LIBRARIES} )
206
223
224
+
207
225
if (ENABLE_TESTS)
208
226
find_package (GTest REQUIRED)
209
227
include (GoogleTest)
You can’t perform that action at this time.
0 commit comments