Skip to content

Commit

Permalink
temp: test conan only
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims committed Sep 18, 2024
1 parent 3f7f2f8 commit 23a3796
Show file tree
Hide file tree
Showing 16 changed files with 4 additions and 71 deletions.
2 changes: 0 additions & 2 deletions cspell.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,8 @@ words:
- aarch
- aminya
- Amnet
- androideabi
- anotherproj
- applellvm
- armeabi
- ARGN
- armv
- asan
Expand Down
2 changes: 2 additions & 0 deletions src/PackageProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,8 @@ function(package_project)
${FILE_SET_ARGS}
)
set(runtime_dirs)
include(CMakePrintHelpers)
cmake_print_variables(CONAN_RUNTIME_LIB_DIRS)
if(CONAN_RUNTIME_LIB_DIRS)
list(APPEND runtime_dirs ${CONAN_RUNTIME_LIB_DIRS})
endif()
Expand Down
7 changes: 0 additions & 7 deletions tests/myproj/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ if(ENABLE_CROSS_COMPILING)
enable_cross_compiler()
endif()

# Override vcpkg triplets to install dynamic libraries instead of static libraries,
# so we can test the installation of vcpkg-installed dependencies afterwards
set(VCPKG_OVERLAY_TRIPLETS "${CMAKE_CURRENT_SOURCE_DIR}/vcpkg_triplets")

run_vcpkg(VCPKG_URL "https://github.com/microsoft/vcpkg.git" VCPKG_REV
"10e052511428d6b0c7fcc63a139e8024bb146032" ENABLE_VCPKG_UPDATE
)
run_conan()

project(myproj VERSION 0.2.0 LANGUAGES CXX C)
Expand Down
2 changes: 2 additions & 0 deletions tests/myproj/conanfile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[requires]
docopt.cpp/0.6.3
eigen/3.4.0
fmt/11.0.2

[options]
docopt.cpp/*:shared=True
Expand Down
6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/arm-neon-android.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/arm64-android.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/arm64-osx.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/arm64-uwp.cmake

This file was deleted.

3 changes: 0 additions & 3 deletions tests/myproj/vcpkg_triplets/arm64-windows.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/x64-android.cmake

This file was deleted.

5 changes: 0 additions & 5 deletions tests/myproj/vcpkg_triplets/x64-linux.cmake

This file was deleted.

6 changes: 0 additions & 6 deletions tests/myproj/vcpkg_triplets/x64-osx.cmake

This file was deleted.

7 changes: 0 additions & 7 deletions tests/myproj/vcpkg_triplets/x64-uwp.cmake

This file was deleted.

3 changes: 0 additions & 3 deletions tests/myproj/vcpkg_triplets/x64-windows-static.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions tests/myproj/vcpkg_triplets/x64-windows.cmake

This file was deleted.

4 changes: 0 additions & 4 deletions tests/myproj/vcpkg_triplets/x86-windows.cmake

This file was deleted.

0 comments on commit 23a3796

Please sign in to comment.