Added glm. Updated widget to expose mouse focus. Added custom renderer with stippled line.
This commit is contained in:
+4
-2
@@ -13,7 +13,9 @@ set(NANOGUI_INSTALL OFF CACHE BOOL " " FORCE)
|
||||
# Add the configurations from nanogui
|
||||
add_subdirectory(libs/nanogui)
|
||||
add_subdirectory(libs/gtest)
|
||||
add_subdirectory(libs/glm)
|
||||
include_directories(libs/gtest/googletest/include)
|
||||
include_directories(libs/glm)
|
||||
|
||||
# For reliability of parallel build, make the NanoGUI targets dependencies
|
||||
set_property(TARGET glfw glfw_objects nanogui PROPERTY FOLDER "dependencies")
|
||||
@@ -23,5 +25,5 @@ set(CMAKE_CXX_STANDARD 17)
|
||||
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||
|
||||
|
||||
add_executable(sender main.cpp grbl.h grbl.cpp grbl_test.cpp grbl_communication.h grbl_communication.cpp grbl_machine.h grbl_machine.cpp string_utils.h)
|
||||
target_link_libraries(sender nanogui gtest gtest_main)
|
||||
add_executable(sender main.cpp grbl.h grbl.cpp grbl_test.cpp grbl_communication.h grbl_communication.cpp grbl_machine.h grbl_machine.cpp string_utils.h render.h render.cpp)
|
||||
target_link_libraries(sender nanogui GL gtest gtest_main)
|
||||
Reference in New Issue
Block a user