Skip to content

Commit 308153c

Browse files
committed
Dependency management done with vcpkg.
1 parent ba4a4b6 commit 308153c

21 files changed

+49
-27019
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ docs/
55
imgui.ini
66
.cache
77
*.code-workspace
8+
vcpkg_installed

CMakeLists.txt

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@ cmake_minimum_required(VERSION 3.8)
22
project(foss)
33

44
include(cmake/auxiliary.cmake)
5+
include(~/.vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake)
56

6-
include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
7-
conan_basic_setup()
8-
include_directories()
9-
link_directories()
7+
find_package(fmt CONFIG REQUIRED)
8+
find_package(spdlog CONFIG REQUIRED)
9+
find_package(imgui CONFIG REQUIRED)
10+
find_package(imguizmo CONFIG REQUIRED)
11+
find_package(glm CONFIG REQUIRED)
12+
find_package(SDL2 CONFIG REQUIRED)
13+
find_package(sdl2-image CONFIG REQUIRED)
1014

11-
set(CMAKE_CXX_STANDARD 17)
15+
find_path(TINYGLTF_INCLUDE_DIRS "tiny_gltf.h")
16+
include_directories(${TINYGLTF_INCLUDE_DIRS})
1217

13-
add_subdirectory(external/imgui)
18+
set(CMAKE_CXX_STANDARD 17)
1419

1520
add_subdirectory(sources/app)

conanfile.txt

Lines changed: 0 additions & 9 deletions
This file was deleted.

external/imgui/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

external/imgui/imconfig.h

Lines changed: 0 additions & 63 deletions
This file was deleted.

0 commit comments

Comments
 (0)