-
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.
* Capnproto added as natively supported serialization format: * publisher & subscriber register descriptor information * dynamic subscriber added that doesn't require schematas * reflection support in eCAL Monitor * eCALMon display & calculation of CPU usage fixed * performance improvements * minor fixes
- Loading branch information
1 parent
244531e
commit 5d3c077
Showing
84 changed files
with
2,724 additions
and
463 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
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,69 @@ | ||
# ========================= eCAL LICENSE ================================= | ||
# | ||
# Copyright (C) 2016 - 2019 Continental Corporation | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
# ========================= eCAL LICENSE ================================= | ||
|
||
project(mon_plugin_capnproto_reflection) | ||
|
||
find_package(Qt5 COMPONENTS | ||
Core | ||
Widgets | ||
REQUIRED) | ||
|
||
find_package(CapnProto REQUIRED) | ||
|
||
if(POLICY CMP0071) | ||
cmake_policy(SET CMP0071 OLD) | ||
endif() | ||
|
||
set(CMAKE_AUTOMOC ON) | ||
set(CMAKE_AUTOUIC OFF) # Reason for being turned off: AutoUIC will prevent VS from detecting changes in .ui files | ||
set(CMAKE_AUTORCC OFF) # Reason for being turned off: AutoRCC will create an entirely new project in VS which clutters the solution appearance. Additionally, we cannot assign a source group to the generated .cpp files which will clutter the project. | ||
set(CMAKE_INCLUDE_CURRENT_DIR ON) | ||
|
||
set(${PROJECT_NAME}_src | ||
src/CapnprotoTreeBuilder.cpp | ||
src/PluginWidget.cpp | ||
src/Plugin.cpp | ||
) | ||
|
||
set(${PROJECT_NAME}_header | ||
src/CapnprotoTreeBuilder.h | ||
src/PluginWidget.h | ||
src/Plugin.h | ||
) | ||
|
||
set(${PROJECT_NAME}_ui | ||
src/PluginWidget.ui | ||
) | ||
|
||
qt5_wrap_ui(autogen_ui ${${PROJECT_NAME}_ui}) | ||
|
||
ecal_add_mon_plugin(${PROJECT_NAME} SHARED ${${PROJECT_NAME}_src} ${${PROJECT_NAME}_header} ${${PROJECT_NAME}_ui} ${autogen_ui}) | ||
|
||
target_link_libraries (${PROJECT_NAME} Qt5::Widgets eCAL::core CapnProto::capnp CustomQt eCAL::mon_plugin_lib MonitorTreeView) | ||
target_link_options(${PROJECT_NAME} PRIVATE $<$<CXX_COMPILER_ID:MSVC>:/ignore:4099>) | ||
|
||
target_include_directories(${PROJECT_NAME} PRIVATE src) | ||
ecal_install_mon_plugin(${PROJECT_NAME}) | ||
|
||
if (TARGET mon) | ||
add_dependencies(mon ${PROJECT_NAME}) | ||
endif() | ||
|
||
set_target_properties(${PROJECT_NAME} PROPERTIES | ||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/$<CONFIGURATION>/${ECAL_MON_PLUGIN_DIR} | ||
FOLDER app/mon/plugins) |
Oops, something went wrong.