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

Added appveyor file and SFML 2.4.0 #29

Closed
wants to merge 6 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
11 changes: 11 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
environment:
matrix:
- TRIPLET: "x86-windows"
- TRIPLET: "x64-windows"

build_script:
- powershell -exec bypass scripts\bootstrap.ps1
- cmd: for /D %%l in (ports\*) do .\vcpkg.exe install %%~nxl --triplet %TRIPLET%

matrix:
fast_finish: true
3 changes: 3 additions & 0 deletions ports/cocos2d/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: cocos2d
Version: 3.10
Description: Cocos2d-x is a suite of open-source, cross-platform, game-development tools used by thousands of developers all over the world.
3 changes: 3 additions & 0 deletions ports/sery/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: sery
Version: 1.0.0
Description: Simple binary (de)serialization library
30 changes: 30 additions & 0 deletions ports/sery/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include(vcpkg_common_functions)
vcpkg_download_distfile(ARCHIVE
URL "https://github.com/Ninetainedo/Sery/archive/v1.0.zip"
FILENAME "sery-1.0.0.zip"
MD5 6af526fb1b029dd989a35e44a6fa59a8
)
vcpkg_extract_source_archive(${ARCHIVE})

SET(SERY_ROOT_DIR "${CURRENT_BUILDTREES_DIR}/src/Sery-1.0")

vcpkg_configure_cmake(
SOURCE_PATH ${SERY_ROOT_DIR}
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1
)

vcpkg_build_cmake()
vcpkg_install_cmake()

# Removes unnecessary directories
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)

# Handle copyright
file(COPY ${SERY_ROOT_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/sery)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/sery/LICENSE ${CURRENT_PACKAGES_DIR}/share/sery/copyright)

# Moves cmake files where appropriate
file(RENAME ${CURRENT_PACKAGES_DIR}/cmake ${CURRENT_PACKAGES_DIR}/share/sery/cmake)
3 changes: 3 additions & 0 deletions ports/sfml/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: sfml
Version: 2.4.0
Description: Simple and Fast Multimedia Library http://www.sfml-dev.org/
30 changes: 30 additions & 0 deletions ports/sfml/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include(vcpkg_common_functions)
vcpkg_download_distfile(ARCHIVE
URL "http://www.sfml-dev.org/files/SFML-2.4.0-sources.zip"
FILENAME "SFML-2.4.0.zip"
MD5 c15e4169b8cfeb2ab8bbc004a90c159a
)
vcpkg_extract_source_archive(${ARCHIVE})

SET(SFML_ROOT_DIR "${CURRENT_BUILDTREES_DIR}/src/SFML-2.4.0")

vcpkg_configure_cmake(
SOURCE_PATH ${SFML_ROOT_DIR}
# OPTIONS -DUSE_THIS_IN_ALL_BUILDS=1 -DUSE_THIS_TOO=2
# OPTIONS_RELEASE -DOPTIMIZE=1
# OPTIONS_DEBUG -DDEBUGGABLE=1
)

vcpkg_build_cmake()
vcpkg_install_cmake()

# Removes unnecessary directories
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/cmake)

# Handle copyright
file(COPY ${SFML_ROOT_DIR}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/sfml)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/sfml/license.txt ${CURRENT_PACKAGES_DIR}/share/sfml/copyright)

# Moves cmake files where appropriate
file(RENAME ${CURRENT_PACKAGES_DIR}/cmake ${CURRENT_PACKAGES_DIR}/share/sfml/cmake)
3 changes: 3 additions & 0 deletions ports/tcl/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: tcl
Version: 8.6.5
Description: Scripting language
3 changes: 3 additions & 0 deletions ports/tk/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Source: tk
Version: 8.6.5
Description: Most popular Tcl extension. Provides a graphical user interface library for a variety of operating systems.