Skip to content

Commit

Permalink
Experiment with GL in notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasper Peeters committed Oct 22, 2024
1 parent 8da0bd0 commit df0fd70
Show file tree
Hide file tree
Showing 2 changed files with 528 additions and 0 deletions.
16 changes: 16 additions & 0 deletions frontend/gtkmm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,22 @@ else()
add_executable(cadabra2-gtk WIN32 ${cadabra_gtk_src})
endif()

include_directories(
"."
"${CADABRA_LIBS_DIR}/pybind11/include"
${Python_INCLUDE_DIRS}
)

add_executable(example_glarea example_glarea.cc)
target_link_libraries(
example_glarea
PUBLIC
${GTKMM3_LIBRARIES}
epoxy
pybind11::embed
${Python_LIBRARIES}
)

if(USE_MICROTEX)
message(STATUS "MicroTeX binaries will be built at ${microtex_BINARY_DIR}")
include_directories(
Expand Down
Loading

0 comments on commit df0fd70

Please sign in to comment.