build: gather linux libraries for package automated

This commit is contained in:
Andreas Stallinger
2015-09-17 14:10:11 +02:00
parent a596c58b02
commit b36e3fb758
22 changed files with 10 additions and 0 deletions
+2
View File
@@ -18,5 +18,7 @@
/bin/test/data/TestSettings.xml
/bin/test/data/*.sqlite
/setup/Linux/lib/*
.DS_Store
.idea
+5
View File
@@ -338,6 +338,11 @@ endif ()
# Linux package
if(UNIX AND NOT APPLE)
execute_process(
COMMAND ${CMAKE_SOURCE_DIR}/setup/Linux/findAndCopyLibraries.sh
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/data
DESTINATION share/coati/.config/coati
PATTERN "log/*" EXCLUDE
+3
View File
@@ -0,0 +1,3 @@
#!/bin/sh
mkdir -p setup/Linux/lib
ldd bin/app/Release/Coati | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' setup/Linux/lib
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.