-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* AbstractCoreRenderer: SDL_Renderer replacement * AbstractRenderer: class for future GPU rendering implementations Rename
- Loading branch information
Showing
58 changed files
with
5,703 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
IF(MINGW) | ||
SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a") | ||
ENDIF() | ||
|
||
FIND_LIBRARY(RUSTVANGERS_LIBRARY | ||
NAMES | ||
vangers_ffi | ||
PATHS | ||
${RUSTVANGERS_ROOT} | ||
/usr/lib | ||
/usr/local/lib | ||
/opt/local/lib | ||
/sw/lib | ||
/local/lib | ||
/mingw/lib | ||
/local/bin | ||
/mingw/bin | ||
/usr/local/lib | ||
) | ||
IF(RUSTVANGERS_LIBRARY) | ||
SET(RUSTVANGERS_FOUND TRUE) | ||
ENDIF(RUSTVANGERS_LIBRARY) | ||
|
||
IF(RUSTVANGERS_FOUND) | ||
IF(NOT RUSTVANGERS_FIND_QUIETLY) | ||
MESSAGE(STATUS "Found vange-rs ffi library: ${RUSTVANGERS_LIBRARY}") | ||
ENDIF(NOT RUSTVANGERS_FIND_QUIETLY) | ||
ELSE(RUSTVANGERS_FOUND) | ||
IF(RUSTVANGERS_FIND_REQUIRED) | ||
MESSAGE(FATAL_ERROR "Could not find vange-rs ffi library") | ||
ENDIF(RUSTVANGERS_FIND_REQUIRED) | ||
ENDIF(RUSTVANGERS_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
SET(glad_SRCS | ||
src/glad.c | ||
include/glad/glad.h | ||
) | ||
|
||
|
||
ADD_LIBRARY(glad STATIC ${glad_SRCS}) | ||
|
||
include_directories( | ||
"${PROJECT_SOURCE_DIR}/lib/glad/include" | ||
) | ||
|
||
target_include_directories( | ||
glad | ||
INTERFACE "${PROJECT_SOURCE_DIR}/lib/glad/include" | ||
) | ||
|
Oops, something went wrong.