Skip to content

Commit

Permalink
Conan file 3rd try
Browse files Browse the repository at this point in the history
  • Loading branch information
BDoignies committed Jan 20, 2025
1 parent f55c94c commit f666133
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
conan install $GITHUB_WORKSPACE --build=missing
conan install $GITHUB_WORKSPACE --build=missing -s:a compiler.cppstd=gnu20
cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} $CONFIG_GLOBAL $CONFIG_WINDOWS -DDGTAL_RANDOMIZED_TESTING_WHITELIST="${{ steps.whitelist.outputs.WHITELIST }}"
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/buildAndDocumentation-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
conan install $GITHUB_WORKSPACE --build=missing
conan install $GITHUB_WORKSPACE --build=missing -s:a compiler.cppstd=gnu20
cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} $CONFIG_GLOBAL $CONFIG_WINDOWS -DDGTAL_RANDOMIZED_TESTING_WHITELIST="${{ steps.whitelist.outputs.WHITELIST }}"
- name: Build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonBindings-PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
conan install $GITHUB_WORKSPACE --build=missing
conan install $GITHUB_WORKSPACE --build=missing -s:a compiler.cppstd=gnu20
cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} $CONFIG_PYTHON $CONFIG_GLOBAL $CONFIG_WINDOWS
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pythonBindings-Pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
conan install $GITHUB_WORKSPACE --build=missing
conan install $GITHUB_WORKSPACE --build=missing -s:a compiler.cppstd=gnu20
cmake $GITHUB_WORKSPACE -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=${{ matrix.BUILD_TYPE }} $CONFIG_PYTHON $CONFIG_GLOBAL $CONFIG_WINDOWS
- name: Setting build informations (Windows)
Expand Down
5 changes: 1 addition & 4 deletions conanfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,4 @@ CMakeToolchain

[options]
boost*:header_only=True
gmp*:enable_cxx=True

[settings]
compiler.cppstd=20
gmp*:enable_cxx=True
2 changes: 1 addition & 1 deletion src/DGtal/doc/moduleBuildDGtal.dox
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ cmake will install all libraries (which may take some time for the first build).
```
conan profile detect --force ##Conan profile
cd build
conan install .. --build=missing
conan install .. --build=missing -s:a compiler.cppstd=gnu20
cmake .. -G "Visual Studio 15 2017" -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091=NEW
```

Expand Down

0 comments on commit f666133

Please sign in to comment.