-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Remove find_package hack and change thirdparty layout
- Loading branch information
1 parent
ffc16d8
commit dde6557
Showing
89 changed files
with
174 additions
and
124 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,57 @@ | ||
[submodule "thirdparty/protobuf"] | ||
path = thirdparty/protobuf | ||
path = thirdparty/protobuf/protobuf | ||
url = https://github.com/protocolbuffers/protobuf.git | ||
[submodule "thirdparty/asio"] | ||
path = thirdparty/asio | ||
path = thirdparty/asio/asio | ||
url = https://github.com/chriskohlhoff/asio.git | ||
[submodule "thirdparty/tclap"] | ||
path = thirdparty/tclap | ||
path = thirdparty/tclap/tclap | ||
url = https://github.com/xguerin/tclap.git | ||
[submodule "thirdparty/simpleini"] | ||
path = thirdparty/simpleini | ||
path = thirdparty/simpleini/simpleini | ||
url = https://github.com/brofield/simpleini.git | ||
[submodule "thirdparty/spdlog"] | ||
path = thirdparty/spdlog | ||
path = thirdparty/spdlog/spdlog | ||
url = https://github.com/gabime/spdlog.git | ||
[submodule "thirdparty/googletest"] | ||
path = thirdparty/googletest | ||
path = thirdparty/gtest/googletest | ||
url = https://github.com/google/googletest.git | ||
[submodule "thirdparty/fineftp-server"] | ||
path = thirdparty/fineftp-server | ||
path = thirdparty/fineftp/fineftp-server | ||
url = https://github.com/eclipse-ecal/fineftp-server.git | ||
[submodule "thirdparty/tinyxml2"] | ||
path = thirdparty/tinyxml2 | ||
path = thirdparty/tinyxml2/tinyxml2 | ||
url = https://github.com/leethomason/tinyxml2 | ||
[submodule "thirdparty/curl"] | ||
path = thirdparty/curl | ||
path = thirdparty/curl/curl | ||
url = https://github.com/curl/curl.git | ||
[submodule "thirdparty/zlib"] | ||
path = thirdparty/zlib | ||
path = thirdparty/zlib/zlib | ||
url = https://github.com/madler/zlib.git | ||
[submodule "thirdparty/libssh2"] | ||
path = thirdparty/libssh2 | ||
path = thirdparty/libssh2/libssh2 | ||
url = https://github.com/libssh2/libssh2.git | ||
[submodule "thirdparty/hdf5"] | ||
path = thirdparty/hdf5 | ||
path = thirdparty/hdf5/hdf5 | ||
url = https://github.com/HDFGroup/hdf5.git | ||
[submodule "thirdparty/termcolor"] | ||
path = thirdparty/termcolor | ||
path = thirdparty/termcolor/termcolor | ||
url = https://github.com/ikalnytskyi/termcolor.git | ||
[submodule "thirdparty/recycle"] | ||
path = thirdparty/recycle | ||
path = thirdparty/recycle/recycle | ||
url = https://github.com/steinwurf/recycle.git | ||
[submodule "thirdparty/tcp_pubsub"] | ||
path = thirdparty/tcp_pubsub | ||
path = thirdparty/tcp_pubsub/tcp_pubsub | ||
url = https://github.com/eclipse-ecal/tcp_pubsub.git | ||
[submodule "thirdparty/qwt/qwt"] | ||
path = thirdparty/qwt/qwt | ||
url = https://git.code.sf.net/p/qwt/git | ||
[submodule "thirdparty/yaml-cpp"] | ||
path = thirdparty/yaml-cpp | ||
path = thirdparty/yaml-cpp/yaml-cpp | ||
url = https://github.com/jbeder/yaml-cpp.git | ||
[submodule "thirdparty/ftxui"] | ||
path = thirdparty/ftxui | ||
path = thirdparty/ftxui/ftxui | ||
url = https://github.com/ArthurSonzogni/FTXUI.git | ||
[submodule "thirdparty/udpcap"] | ||
path = thirdparty/udpcap | ||
path = thirdparty/udpcap/udpcap | ||
url = https://github.com/eclipse-ecal/udpcap.git |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(eCAL_FOUND TRUE) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(asio_FOUND TRUE) |
Submodule asio
updated
from 000000 to 147f72
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
add_library(asio::asio INTERFACE IMPORTED) | ||
target_include_directories(asio::asio INTERFACE thirdparty/asio/asio/asio/include) | ||
target_compile_definitions(asio::asio INTERFACE ASIO_STANDALONE) | ||
|
||
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/Modules) |
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(CMakeFunctions_FOUND TRUE) |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
add_subdirectory(thirdparty/cmakefunctions/cmake_functions) | ||
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/Modules) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(CURL_FOUND TRUE) |
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
Submodule curl
updated
from 000000 to 801bd5
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(fineftp_FOUND TRUE) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
add_subdirectory(thirdparty/fineftp/fineftp-server/fineftp-server EXCLUDE_FROM_ALL) | ||
set_property(TARGET server PROPERTY FOLDER lib/fineftp) | ||
add_library(fineftp::server ALIAS server) | ||
|
||
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/Modules) |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(ftxui_FOUND TRUE) |
8 changes: 5 additions & 3 deletions
8
thirdparty/build-ftxui.cmake → thirdparty/ftxui/build-ftxui.cmake
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,12 +1,14 @@ | ||
option(FTXUI_BUILD_EXAMPLES "Set to ON to build examples" OFF) | ||
|
||
add_subdirectory(thirdparty/ftxui EXCLUDE_FROM_ALL) | ||
add_subdirectory(thirdparty/ftxui/ftxui EXCLUDE_FROM_ALL) | ||
|
||
# Set ftxui_VERSION_MAJOR, because it's only defined in the subdirectory scope and we cannot access it | ||
# Reading it automatically is less error prone than setting itt by hand | ||
file(READ thirdparty/ftxui/CMakeLists.txt content) | ||
file(READ thirdparty/ftxui/ftxui/CMakeLists.txt content) | ||
if(content MATCHES "VERSION ([0-9]+)\\.[0-9]+\\.[0-9]+") | ||
set(ftxui_VERSION_MAJOR "${CMAKE_MATCH_1}") | ||
else() | ||
message(FATAL_ERROR "Couldn't read version info") | ||
endif() | ||
endif() | ||
|
||
list(PREPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/Modules) |
Submodule ftxui
updated
from 000000 to d301fa
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
set(GTest_FOUND TRUE) |
Oops, something went wrong.