Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/conan: Use native Windows SSL library for reduced binary size #49

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
cache-name: cache-conan-packages
with:
path: ~/.conan2/p
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.txt') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.py') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand All @@ -78,7 +78,7 @@ jobs:
if: always()
with:
path: ~/.conan2/p
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.txt') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.py') }}

- name: Configure CMake
run: cmake -B build --preset conan-default -DCMAKE_BUILD_TYPE=${{env.BUILD_CONFIGURATION}} -A Win32 -DDEV_BUILD=ON -DDEV_RELEASE_NUMBER="${{ env.DEV_RELEASE }}"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
cache-name: cache-conan-packages
with:
path: ~/.conan2/p
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.txt') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.py') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
Expand All @@ -71,7 +71,7 @@ jobs:
if: always()
with:
path: ~/.conan2/p
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.txt') }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/conanfile.py') }}

- name: Configure CMake
run: cmake -B build --preset conan-default -DCMAKE_BUILD_TYPE=${{env.BUILD_CONFIGURATION}} -A Win32
Expand Down
16 changes: 16 additions & 0 deletions conanfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
from conan.tools.cmake import cmake_layout
from conan import ConanFile


class vACDMRecipe(ConanFile):
settings = "os", "compiler", "build_type", "arch"
generators = "CMakeToolchain", "CMakeDeps"

def requirements(self):
self.requires("jsoncpp/1.9.5")
self.requires("libcurl/8.6.0", options={"with_ssl": "schannel"})
self.requires("geographiclib/2.3")
self.requires("sqlite3/3.45.3")

def layout(self):
cmake_layout(self)
11 changes: 0 additions & 11 deletions conanfile.txt

This file was deleted.

Loading