32df595275
Task-number: QTBUG-105718 Change-Id: I5d3ef70a31235868b9be6cb479b7621bf2a8ba39 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
14 lines
406 B
CMake
14 lines
406 B
CMake
# Copyright (C) 2022 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
cmake_minimum_required(VERSION 3.16)
|
|
project(arch LANGUAGES CXX)
|
|
|
|
add_executable(architecture_test)
|
|
set_property(TARGET architecture_test PROPERTY MACOSX_BUNDLE FALSE)
|
|
target_sources(architecture_test PRIVATE arch.cpp)
|
|
|
|
if(EMSCRIPTEN)
|
|
target_compile_options(architecture_test PRIVATE -O2 -msimd128 -msse -msse2)
|
|
endif()
|