-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
81 additions
and
83 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,14 @@ | ||
message("vtx_tool") | ||
cmake_minimum_required(VERSION 3.23) | ||
|
||
project(vtx_tool) | ||
|
||
find_package(vtx_util CONFIG REQUIRED) | ||
find_package(vtx_app CONFIG REQUIRED) | ||
find_package(vtx_ui CONFIG REQUIRED) | ||
find_package(Eigen3 REQUIRED) | ||
find_package(vtx_tool_mdprep REQUIRED) | ||
find_package(Eigen3 REQUIRED) | ||
|
||
configure_qt() | ||
add_library(vtx_tool) | ||
configure_target(vtx_tool) | ||
|
||
set(QT_RESOURCES_PATH asset/qt/resources) | ||
|
||
file(GLOB_RECURSE HEADERS include/*) | ||
file(GLOB_RECURSE SOURCES src/*) | ||
file(GLOB_RECURSE QT_RESOURCES ${QT_RESOURCES_PATH}/*) | ||
target_sources(vtx_tool | ||
PRIVATE ${SOURCES} | ||
PUBLIC FILE_SET public_headers TYPE HEADERS BASE_DIRS include FILES ${HEADERS}) | ||
|
||
qt_add_resources(vtx_tool vtx_qt_resources_tool BASE ${QT_RESOURCES_PATH} FILES ${QT_RESOURCES}) | ||
|
||
target_link_libraries(vtx_tool PRIVATE vtx_util::vtx_util) | ||
target_link_libraries(vtx_tool PRIVATE vtx_app::vtx_app) | ||
target_link_libraries(vtx_tool PRIVATE vtx_ui::vtx_ui) | ||
target_link_libraries(vtx_tool PRIVATE Eigen3::Eigen) | ||
target_link_libraries(vtx_tool PRIVATE vtx_tool_mdprep::vtx_tool_mdprep) | ||
set(_VTX_TOOL_CONAN " ") | ||
include("./cmake/library.cmake") | ||
|
||
install(TARGETS vtx_tool FILE_SET public_headers DESTINATION include) |
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,27 @@ | ||
add_library(vtx_tool) | ||
configure_target(vtx_tool) | ||
|
||
set(QT_RESOURCES_PATH ${CMAKE_CURRENT_LIST_DIR}/../asset/qt/resources) | ||
|
||
file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_LIST_DIR}/../include/*) | ||
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_LIST_DIR}/../src/*) | ||
file(GLOB_RECURSE QT_RESOURCES ${QT_RESOURCES_PATH}/*) | ||
target_sources(vtx_tool | ||
PRIVATE ${SOURCES} | ||
PUBLIC FILE_SET public_headers TYPE HEADERS BASE_DIRS ${CMAKE_CURRENT_LIST_DIR}/../include FILES ${HEADERS}) | ||
|
||
qt_add_resources(vtx_tool vtx_qt_resources_tool BASE ${QT_RESOURCES_PATH} FILES ${QT_RESOURCES}) | ||
|
||
if (NOT DEFINED _VTX_TOOL_CONAN) | ||
target_link_libraries(vtx_tool PRIVATE vtx_util) | ||
target_link_libraries(vtx_tool PRIVATE vtx_app) | ||
target_link_libraries(vtx_tool PRIVATE vtx_ui) | ||
target_link_libraries(vtx_tool PRIVATE vtx_tool_mdprep) | ||
else() | ||
target_link_libraries(vtx_tool PRIVATE vtx_util::vtx_util) | ||
target_link_libraries(vtx_tool PRIVATE vtx_app::vtx_app) | ||
target_link_libraries(vtx_tool PRIVATE vtx_ui::vtx_ui) | ||
target_link_libraries(vtx_tool PRIVATE vtx_tool_mdprep::vtx_tool_mdprep) | ||
endif() | ||
|
||
target_link_libraries(vtx_tool PRIVATE Eigen3::Eigen) |
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
2 changes: 1 addition & 1 deletion
2
lib/tool/include/tool/core/serialization/ui_core_serializers.hpp
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,4 +1,4 @@ | ||
#include "ui/core/layout_descriptor.hpp" | ||
#include "tool/core/layout_descriptor.hpp" | ||
|
||
namespace VTX::UI::Core | ||
{ | ||
|
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,4 +1,4 @@ | ||
#include "ui/qt/base_qt_widget.hpp" | ||
#include "tool/qt/base_qt_widget.hpp" | ||
|
||
namespace VTX::UI::QT | ||
{ | ||
|
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,22 +1,15 @@ | ||
message("vtx_tool_test") | ||
cmake_minimum_required(VERSION 3.23) | ||
|
||
project(vtx_tool_test) | ||
|
||
find_package(vtx_tool CONFIG REQUIRED) | ||
find_package(Eigen3 REQUIRED) | ||
find_package(Catch2 REQUIRED) | ||
|
||
add_executable(vtx_tool_test src/main.cpp) | ||
configure_target(vtx_tool_test) | ||
|
||
target_link_libraries(vtx_tool_test PRIVATE vtx_tool::vtx_tool) | ||
target_link_libraries(vtx_tool_test PRIVATE Catch2::Catch2WithMain) | ||
|
||
target_compile_definitions(vtx_tool_test PRIVATE VTX_RENDERER_NO_OPENGL) | ||
|
||
include(CTest) | ||
include(Catch) | ||
catch_discover_tests(vtx_tool_test DISCOVERY_MODE PRE_TEST) | ||
|
||
set(_VTX_TOOL_TEST_CONAN " ") | ||
include(cmake/library.cmake) | ||
|
||
install(TARGETS vtx_tool_test) |
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,14 @@ | ||
add_executable(vtx_tool_test ${CMAKE_CURRENT_LIST_DIR}/../src/main.cpp) | ||
configure_target(vtx_tool_test) | ||
|
||
if (NOT DEFINED _VTX_TOOL_TEST_CONAN) | ||
target_link_libraries(vtx_tool_test PRIVATE vtx_tool) | ||
else() | ||
target_link_libraries(vtx_tool_test PRIVATE vtx_tool::vtx_tool) | ||
endif() | ||
|
||
target_link_libraries(vtx_tool_test PRIVATE Eigen3::Eigen) | ||
target_link_libraries(vtx_tool_test PRIVATE Catch2::Catch2WithMain) | ||
target_compile_definitions(vtx_tool_test PRIVATE VTX_RENDERER_NO_OPENGL) | ||
|
||
catch_discover_tests(vtx_tool_test DISCOVERY_MODE PRE_TEST) |
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 was deleted.
Oops, something went wrong.