early-access version 2853
This commit is contained in:
23
externals/vcpkg/ports/vs-yasm/fix_paths.patch
vendored
Executable file
23
externals/vcpkg/ports/vs-yasm/fix_paths.patch
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
diff --git a/yasm.props b/yasm.props
|
||||
index 06efe7a..10f6309 100644
|
||||
--- a/yasm.props
|
||||
+++ b/yasm.props
|
||||
@@ -6,15 +6,15 @@
|
||||
<YASMAfterTargets>CustomBuild</YASMAfterTargets>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
- <YasmPath Condition= "'$(YASMPATH)' == ''">$(VCInstallDir)</YasmPath>
|
||||
+ <YasmPath Condition= "'$(YasmPath)' == ''">$(VCInstallDir)</YasmPath>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup>
|
||||
<YASM>
|
||||
<Preprocessor>0</Preprocessor>
|
||||
<Parser>0</Parser>
|
||||
<ObjectFileName>$(IntDir)%(FileName).obj</ObjectFileName>
|
||||
- <CommandLineTemplate Condition="'$(Platform)' == 'Win32'">"$(YasmPath)"yasm.exe -Xvc -f win32 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
|
||||
- <CommandLineTemplate Condition="'$(Platform)' == 'x64'">"$(YasmPath)"yasm.exe -Xvc -f win64 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
|
||||
+ <CommandLineTemplate Condition="'$(Platform)' == 'Win32'">"$(YasmPath)" -Xvc -f win32 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
|
||||
+ <CommandLineTemplate Condition="'$(Platform)' == 'x64'">"$(YasmPath)" -Xvc -f win64 [AllOptions] [AdditionalOptions] "%(FullPath)"</CommandLineTemplate>
|
||||
<CommandLineTemplate Condition="'$(Platform)' != 'Win32' and '$(Platform)' != 'x64'">echo YASM not supported on this platform
|
||||
exit 1</CommandLineTemplate>
|
||||
<ExecutionDescription>%(Identity)</ExecutionDescription>
|
||||
17
externals/vcpkg/ports/vs-yasm/portfile.cmake
vendored
Executable file
17
externals/vcpkg/ports/vs-yasm/portfile.cmake
vendored
Executable file
@@ -0,0 +1,17 @@
|
||||
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO ShiftMediaProject/VSYASM
|
||||
REF deb50d9f18e8461538468339d508cdf240e64897 #v0.5
|
||||
SHA512 04627546020d33e5ea91f74b09c5ce3b817dce5f6ae4548c3b4148daa82fbd837c81675ac8730d3ca1cdf91fefa8bb23eec76d1bcd02c03dda1203d0c261178d
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix_paths.patch
|
||||
)
|
||||
|
||||
set(_files yasm.props yasm.targets yasm.xml)
|
||||
foreach(_file ${_files})
|
||||
file(INSTALL "${SOURCE_PATH}/${_file}" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
|
||||
endforeach()
|
||||
|
||||
configure_file("${SOURCE_PATH}/COPYING" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
|
||||
8
externals/vcpkg/ports/vs-yasm/vcpkg.json
vendored
Executable file
8
externals/vcpkg/ports/vs-yasm/vcpkg.json
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "vs-yasm",
|
||||
"version-string": "0.5.0",
|
||||
"port-version": 1,
|
||||
"description": "Provides Visual Studio integration for the YASM assembler.",
|
||||
"homepage": "https://github.com/ShiftMediaProject/VSYASM",
|
||||
"supports": "windows & !arm"
|
||||
}
|
||||
Reference in New Issue
Block a user