mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Add MSVC 2019 builds again
+ remove breaking project samples/PhysicalDeviceMemoryProperties for MSVC
This commit is contained in:
parent
7b5ad9a7d5
commit
0800990456
@ -23,7 +23,37 @@ environment:
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 11
|
||||
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Debug
|
||||
GENERATOR_ARCH: Win32
|
||||
PYTHON: "C:\\Python38"
|
||||
CXX_STANDARD: 11
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Debug
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 11
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Debug
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 14
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Debug
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 17
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Debug
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 20
|
||||
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
||||
BUILD_TYPE: Release
|
||||
GENERATOR_ARCH: x64
|
||||
PYTHON: "C:\\Python38-x64"
|
||||
CXX_STANDARD: 20
|
||||
|
||||
install:
|
||||
- git submodule update --init --recursive
|
||||
- set PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
|
||||
|
@ -12,24 +12,26 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
if(!MSVC)
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
|
||||
project(PhysicalDeviceMemoryProperties)
|
||||
project(PhysicalDeviceMemoryProperties)
|
||||
|
||||
set(HEADERS
|
||||
)
|
||||
set(HEADERS
|
||||
)
|
||||
|
||||
set(SOURCES
|
||||
PhysicalDeviceMemoryProperties.cpp
|
||||
)
|
||||
set(SOURCES
|
||||
PhysicalDeviceMemoryProperties.cpp
|
||||
)
|
||||
|
||||
source_group(headers FILES ${HEADERS})
|
||||
source_group(sources FILES ${SOURCES})
|
||||
source_group(headers FILES ${HEADERS})
|
||||
source_group(sources FILES ${SOURCES})
|
||||
|
||||
add_executable(PhysicalDeviceMemoryProperties
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
)
|
||||
add_executable(PhysicalDeviceMemoryProperties
|
||||
${HEADERS}
|
||||
${SOURCES}
|
||||
)
|
||||
|
||||
set_target_properties(PhysicalDeviceMemoryProperties PROPERTIES FOLDER "Samples")
|
||||
target_link_libraries(PhysicalDeviceMemoryProperties PRIVATE utils)
|
||||
set_target_properties(PhysicalDeviceMemoryProperties PROPERTIES FOLDER "Samples")
|
||||
target_link_libraries(PhysicalDeviceMemoryProperties PRIVATE utils)
|
||||
endif(!MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user