cmake init

main
Brett 2023-07-29 17:15:24 -04:00
parent 18bf49b610
commit 8f02d4cc8a
7 changed files with 13 additions and 14 deletions

9
.gitmodules vendored Normal file
View File

@ -0,0 +1,9 @@
[submodule "libraries/BLT"]
path = libraries/BLT
url = https://github.com/Tri11Paragon/BLT
[submodule "libraries/glfw"]
path = libraries/glfw
url = https://github.com/glfw/glfw.git
[submodule "libraries/assimp"]
path = libraries/assimp
url = https://github.com/assimp/assimp.git

View File

@ -11,7 +11,7 @@ set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL) find_package(OpenGL)
add_subdirectory(libraries/BLT) add_subdirectory(libraries/BLT)
add_subdirectory(libraries/glfw/glfw-3.3.8) add_subdirectory(libraries/glfw)
set(OLD_CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE}) set(OLD_CMAKE_BUILD_TYPE ${CMAKE_BUILD_TYPE})
set(CMAKE_BUILD_TYPE "Release") set(CMAKE_BUILD_TYPE "Release")

1
libraries/BLT Submodule

@ -0,0 +1 @@
Subproject commit 0febd6e8aa29acda9ba825dc1446e8220bc03e94

1
libraries/assimp Submodule

@ -0,0 +1 @@
Subproject commit 60989a598e2eec923612597b1516604b816d404a

1
libraries/glfw Submodule

@ -0,0 +1 @@
Subproject commit 3eaf1255b29fdf5c2895856c7be7d7185ef2b241

View File

@ -1,7 +0,0 @@
#include "library.h"
#include <iostream>
void hello() {
std::cout << "Hello, World!" << std::endl;
}

View File

@ -1,6 +0,0 @@
#ifndef BLT_GRAPHICS_LIBRARY_H
#define BLT_GRAPHICS_LIBRARY_H
void hello();
#endif //BLT_GRAPHICS_LIBRARY_H