First commit
This commit is contained in:
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/build/
|
||||
5
CMakeLists.txt
Normal file
5
CMakeLists.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.31)
|
||||
|
||||
project(Ugly)
|
||||
|
||||
add_subdirectory(./source/app)
|
||||
12
CMakePresets.json
Normal file
12
CMakePresets.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": 3,
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "vcpkg",
|
||||
"generator": "Visual Studio 17 2022",
|
||||
"architecture": "x64",
|
||||
"binaryDir": "${sourceDir}/build",
|
||||
"toolchainFile": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
|
||||
}
|
||||
]
|
||||
}
|
||||
3
source/app/CMakeLists.txt
Normal file
3
source/app/CMakeLists.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
project(UglyMain)
|
||||
|
||||
add_executable(${PROJECT_NAME} main.c)
|
||||
5
source/app/main.c
Normal file
5
source/app/main.c
Normal file
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("hello world!\n");
|
||||
}
|
||||
14
vcpkg-configuration.json
Normal file
14
vcpkg-configuration.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"default-registry": {
|
||||
"kind": "git",
|
||||
"baseline": "4f8fe05871555c1798dbcb1957d0d595e94f7b57",
|
||||
"repository": "https://github.com/microsoft/vcpkg"
|
||||
},
|
||||
"registries": [
|
||||
{
|
||||
"kind": "artifact",
|
||||
"location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
|
||||
"name": "microsoft"
|
||||
}
|
||||
]
|
||||
}
|
||||
7
vcpkg.json
Normal file
7
vcpkg.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"dependencies": [
|
||||
"glfw3",
|
||||
"glm",
|
||||
"glew"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user