Working on doing things properly.
This commit is contained in:
18
lib/CMakeLists.txt
Normal file
18
lib/CMakeLists.txt
Normal file
@ -0,0 +1,18 @@
|
||||
# Copyright (c) 2021 Dominic Msters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
add_subdirectory(Unity)
|
||||
add_subdirectory(cglm)
|
||||
add_subdirectory(glfw)
|
||||
add_subdirectory(duktape)
|
||||
|
||||
# STB
|
||||
add_library(stb STATIC stb/stb_image.h)
|
||||
set_target_properties(stb PROPERTIES LINKER_LANGUAGE C)
|
||||
target_include_directories(stb PUBLIC stb/)
|
||||
|
||||
# GLAD
|
||||
add_subdirectory(glad2/cmake)
|
||||
glad_add_library(glad_gl_core_33 SHARED API gl:core=3.3)
|
1
lib/Unity
Submodule
1
lib/Unity
Submodule
Submodule lib/Unity added at b19370cc2b
1
lib/cglm
Submodule
1
lib/cglm
Submodule
Submodule lib/cglm added at 0631598d08
12
lib/duktape/CMakeLists.txt
Normal file
12
lib/duktape/CMakeLists.txt
Normal file
@ -0,0 +1,12 @@
|
||||
# Copyright (c) 2021 Dominic Msters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
cmake_minimum_required(VERSION 3.11)
|
||||
project(duktape)
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
|
||||
add_library(${PROJECT_NAME} STATIC duktape.c)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
3198
lib/duktape/duk_config.h
Normal file
3198
lib/duktape/duk_config.h
Normal file
File diff suppressed because it is too large
Load Diff
1911
lib/duktape/duk_source_meta.json
Normal file
1911
lib/duktape/duk_source_meta.json
Normal file
File diff suppressed because it is too large
Load Diff
99762
lib/duktape/duktape.c
Normal file
99762
lib/duktape/duktape.c
Normal file
File diff suppressed because it is too large
Load Diff
1450
lib/duktape/duktape.h
Normal file
1450
lib/duktape/duktape.h
Normal file
File diff suppressed because it is too large
Load Diff
1
lib/glad2
Submodule
1
lib/glad2
Submodule
Submodule lib/glad2 added at 369fba4abb
1
lib/glfw
Submodule
1
lib/glfw
Submodule
Submodule lib/glfw added at 6ed5294223
Reference in New Issue
Block a user