mirror of
https://github.com/cemu-project/vcpkg.git
synced 2024-11-27 13:10:52 +00:00
[dxut] add build for optional libs.
This commit is contained in:
parent
bc8a015889
commit
00f10b7789
@ -1,3 +1,3 @@
|
||||
Source: dxut
|
||||
Version: 11.14-1
|
||||
Version: 11.14-2
|
||||
Description: A "GLUT"-like framework for Direct3D 11.x Win32 desktop applications
|
@ -11,33 +11,34 @@ vcpkg_download_distfile(ARCHIVE_FILE
|
||||
)
|
||||
vcpkg_extract_source_archive(${ARCHIVE_FILE})
|
||||
|
||||
vcpkg_build_msbuild(
|
||||
PROJECT_PATH ${SOURCE_PATH}/Core/DXUT_2015.vcxproj
|
||||
)
|
||||
|
||||
IF (TRIPLET_SYSTEM_ARCH MATCHES "x86")
|
||||
SET(BUILD_ARCH "Win32")
|
||||
ELSE()
|
||||
SET(BUILD_ARCH ${TRIPLET_SYSTEM_ARCH})
|
||||
ENDIF()
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/Core/DDSTextureLoader.h
|
||||
${SOURCE_PATH}/Core/DXErr.h
|
||||
${SOURCE_PATH}/Core/DXUT.h
|
||||
${SOURCE_PATH}/Core/DXUTDevice11.h
|
||||
${SOURCE_PATH}/Core/DXUTmisc.h
|
||||
${SOURCE_PATH}/Core/Screengrab.h
|
||||
${SOURCE_PATH}/Core/WICTextureLoader.h
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
vcpkg_build_msbuild(
|
||||
PROJECT_PATH ${SOURCE_PATH}/DXUT_2015.sln
|
||||
PLATFORM ${BUILD_ARCH}
|
||||
)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/Core/
|
||||
${SOURCE_PATH}/Optional/
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/include
|
||||
FILES_MATCHING PATTERN "*.h"
|
||||
)
|
||||
file(REMOVE_RECURSE
|
||||
${CURRENT_PACKAGES_DIR}/include/Bin)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/Core/Bin/Desktop_2015/${BUILD_ARCH}/Release/DXUT.lib
|
||||
${SOURCE_PATH}/Optional/Bin/Desktop_2015/${BUILD_ARCH}/Release/DXUTOpt.lib
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/lib)
|
||||
|
||||
file(INSTALL
|
||||
${SOURCE_PATH}/Core/Bin/Desktop_2015/${BUILD_ARCH}/Debug/DXUT.lib
|
||||
${SOURCE_PATH}/Optional/Bin/Desktop_2015/${BUILD_ARCH}/Debug/DXUTOpt.lib
|
||||
DESTINATION ${CURRENT_PACKAGES_DIR}/debug/lib)
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
Loading…
Reference in New Issue
Block a user