update
This commit is contained in:
parent
0c2fd4a6be
commit
f804876100
@ -7,9 +7,18 @@ find_package(pybind11 CONFIG REQUIRED)
|
||||
|
||||
pybind11_add_module(${PROJECT_NAME} ${SRC})
|
||||
|
||||
add_subdirectory( ${PROJECT_SOURCE_DIR}/glew-cmake )
|
||||
|
||||
# add_subdirectory( ${PROJECT_SOURCE_DIR}/glew-cmake)
|
||||
# target_link_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/build/glew-cmake/lib)
|
||||
# target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/glew-cmake/include/)
|
||||
# target_link_libraries(${PROJECT_NAME} PRIVATE glew)
|
||||
|
||||
|
||||
add_subdirectory( ${PROJECT_SOURCE_DIR}/glfw )
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE glfw)
|
||||
|
||||
find_package(OpenGl REQUIRED)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/include)
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE OpenGL::GL)
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCE_DIR}/include )
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE OpenGL::GL )
|
||||
|
||||
|
||||
|
@ -1 +0,0 @@
|
||||
Subproject commit a5494db414d62e7bcb19f9f8fd7ee660338ea08e
|
@ -2,6 +2,7 @@
|
||||
#include <pybind11/stl.h>
|
||||
#include <glpy.h>
|
||||
|
||||
|
||||
namespace py = pybind11;
|
||||
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#include <pybind11/stl.h>
|
||||
#include <GLFW/glfw3.h>
|
||||
#include <glpy.h>
|
||||
#include <GL/glew.h>
|
||||
|
||||
int tests::glfw_window(unsigned width,unsigned height, std::string title)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user