Files
wang-bin ddf0a59130 fast copy from USWC using sse4.1. not supported by va
TODO: add memcpy like function. configurable cache size
2014-05-03 15:27:17 +08:00

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