mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 09:01:46 +00:00
Renamed context module files.
This commit is contained in:
parent
5ea3591586
commit
1eef0f0869
@ -7,8 +7,8 @@ if (MSVC)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(common_HEADERS ${GLFW_SOURCE_DIR}/include/GL/glfw3.h internal.h)
|
set(common_HEADERS ${GLFW_SOURCE_DIR}/include/GL/glfw3.h internal.h)
|
||||||
set(common_SOURCES clipboard.c fullscreen.c gamma.c init.c input.c
|
set(common_SOURCES clipboard.c context.c fullscreen.c gamma.c init.c input.c
|
||||||
joystick.c opengl.c time.c window.c)
|
joystick.c time.c window.c)
|
||||||
|
|
||||||
if (_GLFW_COCOA)
|
if (_GLFW_COCOA)
|
||||||
set(glfw_HEADERS ${common_HEADERS} cocoa_platform.h)
|
set(glfw_HEADERS ${common_HEADERS} cocoa_platform.h)
|
||||||
@ -41,16 +41,16 @@ endif()
|
|||||||
|
|
||||||
if (_GLFW_EGL)
|
if (_GLFW_EGL)
|
||||||
list(APPEND glfw_HEADERS ${common_HEADERS} egl_platform.h)
|
list(APPEND glfw_HEADERS ${common_HEADERS} egl_platform.h)
|
||||||
list(APPEND glfw_SOURCES ${common_SOURCES} egl_opengl.c)
|
list(APPEND glfw_SOURCES ${common_SOURCES} egl_context.c)
|
||||||
elseif (_GLFW_NSGL)
|
elseif (_GLFW_NSGL)
|
||||||
list(APPEND glfw_HEADERS ${common_HEADERS} nsgl_platform.h)
|
list(APPEND glfw_HEADERS ${common_HEADERS} nsgl_platform.h)
|
||||||
list(APPEND glfw_SOURCES ${common_SOURCES} nsgl_opengl.m)
|
list(APPEND glfw_SOURCES ${common_SOURCES} nsgl_context.m)
|
||||||
elseif (_GLFW_WGL)
|
elseif (_GLFW_WGL)
|
||||||
list(APPEND glfw_HEADERS ${common_HEADERS} wgl_platform.h)
|
list(APPEND glfw_HEADERS ${common_HEADERS} wgl_platform.h)
|
||||||
list(APPEND glfw_SOURCES ${common_SOURCES} wgl_opengl.c)
|
list(APPEND glfw_SOURCES ${common_SOURCES} wgl_context.c)
|
||||||
elseif (_GLFW_X11)
|
elseif (_GLFW_X11)
|
||||||
list(APPEND glfw_HEADERS ${common_HEADERS} glx_platform.h)
|
list(APPEND glfw_HEADERS ${common_HEADERS} glx_platform.h)
|
||||||
list(APPEND glfw_SOURCES ${common_SOURCES} glx_opengl.c)
|
list(APPEND glfw_SOURCES ${common_SOURCES} glx_context.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (_GLFW_NSGL)
|
if (_GLFW_NSGL)
|
||||||
|
Loading…
Reference in New Issue
Block a user