Skip to content

Commit

Permalink
Add triplets for x64-linux and x64-osx
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Apr 24, 2018
1 parent a11086e commit f703f60
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ downloads/
installed*/
packages/
scripts/buildsystems/tmp/
#ignore custom triplets
#ignore custom triplets
triplets/*
#add vcpkg-designed triplets back in
!triplets/arm-uwp.cmake
Expand All @@ -292,6 +292,8 @@ triplets/*
!triplets/x86-windows-static.cmake
!triplets/arm64-uwp.cmake
!triplets/arm64-windows.cmake
!triplets/x64-linux.cmake
!triplets/x64-osx.cmake
*.exe
*.zip

Expand Down
5 changes: 5 additions & 0 deletions triplets/x64-linux.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Linux)
5 changes: 5 additions & 0 deletions triplets/x64-osx.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
set(VCPKG_TARGET_ARCHITECTURE x64)
set(VCPKG_CRT_LINKAGE dynamic)
set(VCPKG_LIBRARY_LINKAGE static)

set(VCPKG_CMAKE_SYSTEM_NAME Darwin)

1 comment on commit f703f60

@KindDragon
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.