First commit

This commit is contained in:
Pablo Rodriguez
2025-07-27 11:36:32 -04:00
commit e8e91e86c7
7 changed files with 47 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/build/

5
CMakeLists.txt Normal file
View File

@@ -0,0 +1,5 @@
cmake_minimum_required(VERSION 3.31)
project(Ugly)
add_subdirectory(./source/app)

12
CMakePresets.json Normal file
View 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"
}
]
}

View File

@@ -0,0 +1,3 @@
project(UglyMain)
add_executable(${PROJECT_NAME} main.c)

5
source/app/main.c Normal file
View File

@@ -0,0 +1,5 @@
#include <stdio.h>
int main(void) {
printf("hello world!\n");
}

14
vcpkg-configuration.json Normal file
View 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
View File

@@ -0,0 +1,7 @@
{
"dependencies": [
"glfw3",
"glm",
"glew"
]
}