diff options
Diffstat (limited to 'works/life/cpp-practicum')
-rw-r--r-- | works/life/cpp-practicum/CMakeLists.txt | 6 | ||||
-rw-r--r-- | works/life/cpp-practicum/vcpkg.json | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/works/life/cpp-practicum/CMakeLists.txt b/works/life/cpp-practicum/CMakeLists.txt index 7958850..346fdb4 100644 --- a/works/life/cpp-practicum/CMakeLists.txt +++ b/works/life/cpp-practicum/CMakeLists.txt @@ -1,8 +1,8 @@ -set(CMAKE_TOOLCHAIN_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../vcpkg/scripts/buildsystems/vcpkg.cmake
- CACHE STRING "Vcpkg toolchain file")
-
cmake_minimum_required(VERSION 3.14)
+set(CMAKE_TOOLCHAIN_FILE $ENV{VCPKG_INSTALLATION_ROOT}/scripts/buildsystems/vcpkg.cmake
+ CACHE STRING "Vcpkg toolchain file")
+
project(CppPraticum)
enable_testing()
diff --git a/works/life/cpp-practicum/vcpkg.json b/works/life/cpp-practicum/vcpkg.json new file mode 100644 index 0000000..cb907c5 --- /dev/null +++ b/works/life/cpp-practicum/vcpkg.json @@ -0,0 +1,7 @@ +{
+ "$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
+ "name": "cpp-praticum",
+ "version": "0.0.1",
+ "dependencies": ["ms-gsl", "qt5"]
+ }
+
\ No newline at end of file |