mirror of
https://github.com/wang-bin/QtAV.git
synced 2026-10-20 14:16:22 +08:00
ddf0a59130
TODO: add memcpy like function. configurable cache size
20 lines
463 B
Prolog
20 lines
463 B
Prolog
TARGET = arch
|
|
SOURCES = arch.cpp
|
|
CONFIG -= qt dylib release debug_and_release
|
|
CONFIG += debug console warn_on
|
|
|
|
win32-icc {
|
|
QMAKE_CXXFLAGS *= -arch:SSE4.1 #AVX
|
|
} *msvc* {
|
|
|
|
} else {
|
|
## gcc like. can not add here otherwise other archs can not be detected
|
|
# QMAKE_CXXFLAGS *= -msse4.1
|
|
}
|
|
|
|
arch_pp.target = preprocess
|
|
arch_pp.commands = $$QMAKE_CXX \$< #for gnu make
|
|
arch_pp.depends = $$PWD/arch.h #TODO: win path. shell_path()?
|
|
|
|
QMAKE_EXTRA_TARGETS = arch_pp
|