Files
allwpilib/simulation/halsim_gui/CMakeLists.txt
Peter Johnson 2a5ca77454 [glass] Add glass: an application for display of robot data
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.
2020-12-04 00:36:55 -08:00

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}")