Skip to content
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/conan-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:

conan lock add --requires=viam-cpp-sdk/${{ inputs.ref }}

conan create . --build=missing -s:a compiler.cppstd=17 -o:a "&:shared=False" \
conan create . --build=missing -s:a compiler.cppstd=17 \
--lockfile etc/conan/conan.lock $LOCKFILE_UPDATE_ARGS

conan upload "viam-cpp-sdk/*" -r viamconan -c
Expand Down Expand Up @@ -167,7 +167,7 @@ jobs:

conan lock add --requires=viam-cpp-sdk/${{ inputs.ref }}

conan create . --build=missing -s:a compiler.cppstd=17 -o:a "&:shared=False" \
conan create . --build=missing -s:a compiler.cppstd=17 \
--lockfile etc/conan/conan.lock $LOCKFILE_UPDATE_ARGS

conan upload "viam-cpp-sdk/*" -r viamconan -c
Expand Down Expand Up @@ -238,7 +238,7 @@ jobs:
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv

conan create . --build=missing -o "&:shared=False" -s:a compiler.cppstd=17
conan create . --build=missing -s:a compiler.cppstd=17
conan upload "viam-cpp-sdk/*" -r viamconan -c
env:
CONAN_USER_HOME: c:/cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/conan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ jobs:
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
conan profile detect
conan create . --build=missing -o "&:shared=False"
conan create . --build=missing
env:
CONAN_USER_HOME: c:/cache
CONAN_USER_HOME_SHORT: c:/cache/conan_shortpaths
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
conan profile detect
conan install . --output-folder=build-conan --build=missing -o "&:shared=False"
conan install . --output-folder=build-conan --build=missing
cmake . --preset conan-default
cmake --build --preset=conan-release --target ALL_BUILD install -j 8
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:
Import-Module $env:ChocolateyInstall\helpers\chocolateyProfile.psm1
refreshenv
conan profile detect
conan install . --build=missing -o "&:shared=False"
conan install . --build=missing
cmake . --preset conan-default -DVIAMCPPSDK_BUILD_EXAMPLES=ON
cmake --build --preset=conan-release --target ALL_BUILD install -j 8
env:
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class ViamCppSdkRecipe(ConanFile):

default_options = {
"offline_proto_generation": True,
"shared": True
"shared": False
}

exports_sources = "CMakeLists.txt", "LICENSE", "src/*", "buf.lock"
Expand Down
Loading