mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
This reuses many pieces of the current simulation GUI. The common pieces have been refactored into the libglass library. The libglass library is designed to be usable for other standalone data visualization applications (e.g. viewing data logs). The name "glass" comes from "glass cockpit", as the application features several multi-function displays that can be adjusted to display robot information as needed.
20 lines
596 B
CMake
20 lines
596 B
CMake
project(halsim_gui)
|
|
|
|
include(CompileWarnings)
|
|
include(LinkMacOSGUI)
|
|
|
|
file(GLOB halsim_gui_src src/main/native/cpp/*.cpp)
|
|
|
|
add_library(halsim_gui SHARED ${halsim_gui_src})
|
|
wpilib_target_warnings(halsim_gui)
|
|
set_target_properties(halsim_gui PROPERTIES DEBUG_POSTFIX "d")
|
|
|
|
wpilib_link_macos_gui(halsim_gui)
|
|
target_link_libraries(halsim_gui PUBLIC hal wpimath PRIVATE libglassnt libglass)
|
|
|
|
target_include_directories(halsim_gui PRIVATE src/main/native/include)
|
|
|
|
set_property(TARGET halsim_gui PROPERTY FOLDER "libraries")
|
|
|
|
install(TARGETS halsim_gui EXPORT halsim_gui DESTINATION "${main_lib_dest}")
|