-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cmake]: Fix usage after install when built with `BUILD_SHARED_LIBS=Oβ¦
β¦N` (#2016) * Force tcp_pubsub submodule to build static * Allow ecal-utils to be static or shared ecal-utils is used by other exported libraries (eg: ecalhdf5) which may be static or shared so there is no need to constrain ecal-utils, it should be consistent with other libraries * Force ThreadingUtils to be static implementation ThreadingUtils is only used internally by applications so it can be static and not exported/installed * Force EcalParser and QEcalParser to be static implementation libraries Both are only used by executables and aren't exported so they can be forced static * Force CustomQt to be static implementation library It is only used in applications and monitor plugins so it can be static * Bump tcp_pubsub submodule to get TCP_PUBSUB_LIBRARY_TYPE * Fail installer signing gracefully
- Loading branch information
1 parent
91a1454
commit c18fd66
Showing
8 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
include_guard(GLOBAL) | ||
|
||
# Build as static library | ||
set(TCP_PUBSUB_LIBRARY_TYPE STATIC) | ||
set(TCP_PUBSUB_USE_BUILTIN_ASIO OFF) | ||
set(TCP_PUBSUB_USE_BUILTIN_RECYCLE OFF) | ||
set(TCP_PUBSUB_BUILD_TESTS OFF) | ||
|
||
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/tcp_pubsub/tcp_pubsub thirdparty/tcp_pubsub EXCLUDE_FROM_ALL SYSTEM) | ||
|
||
set_property(TARGET tcp_pubsub PROPERTY FOLDER thirdparty/tcp_pubsub) | ||
set_property(TARGET tcp_pubsub PROPERTY FOLDER thirdparty/tcp_pubsub) |
Submodule tcp_pubsub
updated
24 files
+13 β2 | .github/workflows/build-macos.yml | |
+39 β39 | .github/workflows/build-ubuntu.yml | |
+45 β13 | .github/workflows/build-windows.yml | |
+7 β4 | .gitmodules | |
+54 β4 | CMakeLists.txt | |
+14 β0 | README.md | |
+23 β4 | tcp_pubsub/CMakeLists.txt | |
+0 β12 | tcp_pubsub/sourcetree.cmake | |
+1 β1 | tcp_pubsub/version.cmake | |
+36 β0 | tests/tcp_pubsub_test/CMakeLists.txt | |
+194 β0 | tests/tcp_pubsub_test/src/atomic_signalable.h | |
+314 β0 | tests/tcp_pubsub_test/src/tcp_pubsub_test.cpp | |
+0 β1 | thirdparty/asio | |
+1 β1 | thirdparty/asio/Module/Findasio.cmake | |
+1 β0 | thirdparty/asio/asio | |
+1 β0 | thirdparty/asio/build-asio.cmake | |
+1 β0 | thirdparty/gtest/Module/FindGTest.cmake | |
+19 β0 | thirdparty/gtest/build-gtest.cmake | |
+1 β0 | thirdparty/gtest/googletest | |
+0 β2 | thirdparty/modules/Findrecycle.cmake | |
+1 β0 | thirdparty/recycle/Module/Findrecycle.cmake | |
+5 β0 | thirdparty/recycle/build-recycle.cmake | |
+0 β0 | thirdparty/recycle/recycle | |
+1 β1 | thirdparty/tcp_pubsub/Module/Findtcp_pubsub.cmake |