mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 00:05:40 +00:00
* Feature: Begin working the new engine module system.
This commit is contained in:
parent
9901fa76b4
commit
dfc03da9d9
10 changed files with 133 additions and 28 deletions
13
Engine/lib/glad/CMakeLists.txt
Normal file
13
Engine/lib/glad/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
file(GLOB GLAD_SOURCES "src/*.c")
|
||||
|
||||
# TODO EGL support if we ever use EGL instead of GLX
|
||||
if (WIN32)
|
||||
file(GLOB GLAD_SOURCES_WGL "src/wgl/*.c")
|
||||
set(GLAD_SOURCES ${GLAD_SOURCES} ${GLAD_SOURCES_WGL})
|
||||
elseif (UNIX AND NOT APPLE)
|
||||
file(GLOB GLAD_SOURCES_GLX "src/glx/*.c")
|
||||
set(GLAD_SOURCES ${GLAD_SOURCES} ${GLAD_SOURCES_GLX})
|
||||
endif()
|
||||
|
||||
add_library(glad STATIC ${GLAD_SOURCES})
|
||||
target_include_directories(glad PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include")
|
||||
Loading…
Add table
Add a link
Reference in a new issue