mirror of
https://bitbucket.org/CPMADevs/cnq3
synced 2025-01-31 12:50:44 +00:00
full x64 support with a VM based on quake3e OCT 21 2016
the VM compiler uses SSE for floating-point ops when possible
This commit is contained in:
parent
fc9465caab
commit
f327428475
46 changed files with 6101 additions and 3492 deletions
|
@ -18,6 +18,14 @@ ifeq ($(config),debug_x32)
|
|||
libjpeg_turbo_config = debug_x32
|
||||
freetype_config = debug_x32
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
cnq3_config = debug_x64
|
||||
cnq3_server_config = debug_x64
|
||||
botlib_config = debug_x64
|
||||
renderer_config = debug_x64
|
||||
libjpeg_turbo_config = debug_x64
|
||||
freetype_config = debug_x64
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
cnq3_config = release_x32
|
||||
cnq3_server_config = release_x32
|
||||
|
@ -26,6 +34,14 @@ ifeq ($(config),release_x32)
|
|||
libjpeg_turbo_config = release_x32
|
||||
freetype_config = release_x32
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
cnq3_config = release_x64
|
||||
cnq3_server_config = release_x64
|
||||
botlib_config = release_x64
|
||||
renderer_config = release_x64
|
||||
libjpeg_turbo_config = release_x64
|
||||
freetype_config = release_x64
|
||||
endif
|
||||
|
||||
PROJECTS := cnq3 cnq3-server botlib renderer libjpeg-turbo freetype
|
||||
|
||||
|
@ -82,7 +98,9 @@ help:
|
|||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " debug_x32"
|
||||
@echo " debug_x64"
|
||||
@echo " release_x32"
|
||||
@echo " release_x64"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " all (default)"
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = obj/x32/debug/botlib
|
||||
DEFINES += -DBOTLIB -DDEBUG -D_DEBUG
|
||||
|
@ -24,7 +24,34 @@ ifeq ($(config),debug_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = obj/x64/debug/botlib
|
||||
DEFINES += -DBOTLIB -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
@ -39,7 +66,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = obj/x32/release/botlib
|
||||
DEFINES += -DBOTLIB -DNDEBUG
|
||||
|
@ -51,7 +78,34 @@ ifeq ($(config),release_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/libbotlib.a
|
||||
OBJDIR = obj/x64/release/botlib
|
||||
DEFINES += -DBOTLIB -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x86
|
||||
OBJDIR = obj/x32/debug/cnq3-server
|
||||
DEFINES += -DDEDICATED -DDEBUG -D_DEBUG
|
||||
|
@ -22,9 +22,9 @@ ifeq ($(config),debug_x32)
|
|||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/debug/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/debug/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32
|
||||
LIBS += ../../../.bin/debug_x32/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/debug_x32/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
|
@ -34,7 +34,38 @@ ifeq ($(config),debug_x32)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/debug/cnq3-server-x86" "$(QUAKE3DIR)"
|
||||
cp -u "../../../.bin/debug_x32/cnq3-server-x86" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x64
|
||||
OBJDIR = obj/x64/debug/cnq3-server
|
||||
DEFINES += -DDEDICATED -DDEBUG -D_DEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/debug_x64/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/debug_x64/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../../../cnq3tools/git/create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/debug_x64/cnq3-server-x64" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
@ -43,7 +74,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x86
|
||||
OBJDIR = obj/x32/release/cnq3-server
|
||||
DEFINES += -DDEDICATED -DNDEBUG
|
||||
|
@ -53,9 +84,9 @@ ifeq ($(config),release_x32)
|
|||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/release/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/release/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32
|
||||
LIBS += ../../../.bin/release_x32/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/release_x32/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
|
@ -65,7 +96,38 @@ ifeq ($(config),release_x32)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/release/cnq3-server-x86" "$(QUAKE3DIR)"
|
||||
cp -u "../../../.bin/release_x32/cnq3-server-x86" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-server-x64
|
||||
OBJDIR = obj/x64/release/cnq3-server
|
||||
DEFINES += -DDEDICATED -DNDEBUG
|
||||
INCLUDES +=
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/release_x64/libbotlib.a -ldl -lm
|
||||
LDDEPS += ../../../.bin/release_x64/libbotlib.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../../../cnq3tools/git/create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/release_x64/cnq3-server-x64" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-x86
|
||||
OBJDIR = obj/x32/debug/cnq3
|
||||
DEFINES += -DDEBUG -D_DEBUG
|
||||
|
@ -22,9 +22,9 @@ ifeq ($(config),debug_x32)
|
|||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -Wno-unused-parameter -Wno-write-strings -pthread -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/debug/libbotlib.a ../../../.bin/debug/librenderer.a ../../../.bin/debug/libfreetype.a ../../../.bin/debug/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/debug/libbotlib.a ../../../.bin/debug/librenderer.a ../../../.bin/debug/libfreetype.a ../../../.bin/debug/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32 ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jsimdcpu.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jchuff-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquantf-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquanti-sse2.obj
|
||||
LIBS += ../../../.bin/debug_x32/libbotlib.a ../../../.bin/debug_x32/librenderer.a ../../../.bin/debug_x32/libfreetype.a ../../../.bin/debug_x32/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/debug_x32/libbotlib.a ../../../.bin/debug_x32/librenderer.a ../../../.bin/debug_x32/libfreetype.a ../../../.bin/debug_x32/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
|
@ -34,7 +34,38 @@ ifeq ($(config),debug_x32)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/debug/cnq3-x86" "$(QUAKE3DIR)"
|
||||
cp -u "../../../.bin/debug_x32/cnq3-x86" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-x64
|
||||
OBJDIR = obj/x64/debug/cnq3
|
||||
DEFINES += -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings -pthread -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/debug_x64/libbotlib.a ../../../.bin/debug_x64/librenderer.a ../../../.bin/debug_x64/libfreetype.a ../../../.bin/debug_x64/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/debug_x64/libbotlib.a ../../../.bin/debug_x64/librenderer.a ../../../.bin/debug_x64/libfreetype.a ../../../.bin/debug_x64/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../../../cnq3tools/git/create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/debug_x64/cnq3-x64" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
@ -43,7 +74,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/cnq3-x86
|
||||
OBJDIR = obj/x32/release/cnq3
|
||||
DEFINES += -DNDEBUG
|
||||
|
@ -53,9 +84,9 @@ ifeq ($(config),release_x32)
|
|||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -pthread -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/release/libbotlib.a ../../../.bin/release/librenderer.a ../../../.bin/release/libfreetype.a ../../../.bin/release/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/release/libbotlib.a ../../../.bin/release/librenderer.a ../../../.bin/release/libfreetype.a ../../../.bin/release/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32 ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jsimdcpu.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-3dn.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-mmx.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-sse.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jchuff-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquantf-sse2.obj ../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquanti-sse2.obj
|
||||
LIBS += ../../../.bin/release_x32/libbotlib.a ../../../.bin/release_x32/librenderer.a ../../../.bin/release_x32/libfreetype.a ../../../.bin/release_x32/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/release_x32/libbotlib.a ../../../.bin/release_x32/librenderer.a ../../../.bin/release_x32/libfreetype.a ../../../.bin/release_x32/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
|
@ -65,7 +96,38 @@ ifeq ($(config),release_x32)
|
|||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/release/cnq3-x86" "$(QUAKE3DIR)"
|
||||
cp -u "../../../.bin/release_x32/cnq3-x86" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/cnq3-x64
|
||||
OBJDIR = obj/x64/release/cnq3
|
||||
DEFINES += -DNDEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1 -pthread -x c++
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += ../../../.bin/release_x64/libbotlib.a ../../../.bin/release_x64/librenderer.a ../../../.bin/release_x64/libfreetype.a ../../../.bin/release_x64/liblibjpeg-turbo.a -ldl -lm -lX11 -lpthread
|
||||
LDDEPS += ../../../.bin/release_x64/libbotlib.a ../../../.bin/release_x64/librenderer.a ../../../.bin/release_x64/libfreetype.a ../../../.bin/release_x64/liblibjpeg-turbo.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(CXX) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
"../../../cnq3tools/git/create_git_header.sh" "../../code/qcommon/git.h"
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
@echo Running postbuild commands
|
||||
cp -u "../../../.bin/release_x64/cnq3-x64" "$(QUAKE3DIR)"
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/libfreetype.a
|
||||
OBJDIR = obj/x32/debug/freetype
|
||||
DEFINES += -D_LIB -DFT2_BUILD_LIBRARY -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -DDEBUG -D_DEBUG
|
||||
|
@ -24,7 +24,34 @@ ifeq ($(config),debug_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/libfreetype.a
|
||||
OBJDIR = obj/x64/debug/freetype
|
||||
DEFINES += -D_LIB -DFT2_BUILD_LIBRARY -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
@ -39,7 +66,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/libfreetype.a
|
||||
OBJDIR = obj/x32/release/freetype
|
||||
DEFINES += -D_LIB -DFT2_BUILD_LIBRARY -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -DNDEBUG
|
||||
|
@ -51,7 +78,34 @@ ifeq ($(config),release_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/libfreetype.a
|
||||
OBJDIR = obj/x64/release/freetype
|
||||
DEFINES += -D_LIB -DFT2_BUILD_LIBRARY -D_BIND_TO_CURRENT_VCLIBS_VERSION=1 -DNDEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = obj/x32/debug/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=4 -DDEBUG -D_DEBUG
|
||||
|
@ -24,45 +24,36 @@ ifeq ($(config),debug_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = obj/x64/debug/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
mkdir -p ../../../cnq3/build/nasm/libjpeg-turbo/elf32
|
||||
echo jsimdcpu.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jsimdcpu.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
echo jfdctflt-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
echo jidctflt-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
echo jquant-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
echo jccolor-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
echo jcgray-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
echo jcsample-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
echo jdcolor-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
echo jdmerge-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
echo jdsample-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
echo jfdctfst-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
echo jfdctint-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
echo jidctfst-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
echo jidctint-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
echo jidctred-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
echo jquant-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
echo jfdctflt-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
echo jidctflt-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
echo jquant-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
echo jccolor-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
echo jcgray-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
echo jchuff-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jchuff-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
echo jcsample-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
echo jdcolor-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
echo jdmerge-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
echo jdsample-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
echo jfdctfst-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
echo jfdctint-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
echo jidctflt-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
echo jidctfst-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
echo jidctint-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
echo jidctred-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
echo jquantf-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquantf-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
echo jquanti-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquanti-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
|
@ -75,7 +66,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = obj/x32/release/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=4 -DNDEBUG
|
||||
|
@ -87,45 +78,36 @@ ifeq ($(config),release_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/liblibjpeg-turbo.a
|
||||
OBJDIR = obj/x64/release/libjpeg-turbo
|
||||
DEFINES += -DWITH_SIMD -DSIZEOF_SIZE_T=8 -DNDEBUG
|
||||
INCLUDES += -I../../code/libjpeg-turbo -I../../code/libjpeg-turbo/simd
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
@echo Running prebuild commands
|
||||
mkdir -p ../../../cnq3/build/nasm/libjpeg-turbo/elf32
|
||||
echo jsimdcpu.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jsimdcpu.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
echo jfdctflt-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
echo jidctflt-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
echo jquant-3dn.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-3dn.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
echo jccolor-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
echo jcgray-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
echo jcsample-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
echo jdcolor-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
echo jdmerge-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
echo jdsample-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
echo jfdctfst-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
echo jfdctint-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
echo jidctfst-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
echo jidctint-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
echo jidctred-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
echo jquant-mmx.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-mmx.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
echo jfdctflt-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctflt-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
echo jidctflt-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
echo jquant-sse.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquant-sse.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
echo jccolor-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jccolor-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
echo jcgray-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcgray-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
echo jchuff-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jchuff-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
echo jcsample-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jcsample-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
echo jdcolor-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdcolor-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
echo jdmerge-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdmerge-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
echo jdsample-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jdsample-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
echo jfdctfst-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctfst-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
echo jfdctint-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jfdctint-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
echo jidctflt-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctflt-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
echo jidctfst-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctfst-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
echo jidctint-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctint-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
echo jidctred-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jidctred-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
echo jquantf-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquantf-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
echo jquanti-sse2.asm && nasm -o../../../cnq3/build/nasm/libjpeg-turbo/elf32/jquanti-sse2.obj -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../../cnq3/code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
|
@ -182,12 +164,135 @@ OBJECTS := \
|
|||
$(OBJDIR)/jquant1.o \
|
||||
$(OBJDIR)/jquant2.o \
|
||||
$(OBJDIR)/jutils.o \
|
||||
$(OBJDIR)/jsimd_i386.o \
|
||||
|
||||
RESOURCES := \
|
||||
|
||||
CUSTOMFILES := \
|
||||
|
||||
ifeq ($(config),debug_x32)
|
||||
OBJECTS += \
|
||||
../../../.bin/debug_x32/jccolor-mmx.o \
|
||||
../../../.bin/debug_x32/jccolor-sse2.o \
|
||||
../../../.bin/debug_x32/jcgray-mmx.o \
|
||||
../../../.bin/debug_x32/jcgray-sse2.o \
|
||||
../../../.bin/debug_x32/jchuff-sse2.o \
|
||||
../../../.bin/debug_x32/jcsample-mmx.o \
|
||||
../../../.bin/debug_x32/jcsample-sse2.o \
|
||||
../../../.bin/debug_x32/jdcolor-mmx.o \
|
||||
../../../.bin/debug_x32/jdcolor-sse2.o \
|
||||
../../../.bin/debug_x32/jdmerge-mmx.o \
|
||||
../../../.bin/debug_x32/jdmerge-sse2.o \
|
||||
../../../.bin/debug_x32/jdsample-mmx.o \
|
||||
../../../.bin/debug_x32/jdsample-sse2.o \
|
||||
../../../.bin/debug_x32/jfdctflt-3dn.o \
|
||||
../../../.bin/debug_x32/jfdctflt-sse.o \
|
||||
../../../.bin/debug_x32/jfdctfst-mmx.o \
|
||||
../../../.bin/debug_x32/jfdctfst-sse2.o \
|
||||
../../../.bin/debug_x32/jfdctint-mmx.o \
|
||||
../../../.bin/debug_x32/jfdctint-sse2.o \
|
||||
../../../.bin/debug_x32/jidctflt-3dn.o \
|
||||
../../../.bin/debug_x32/jidctflt-sse.o \
|
||||
../../../.bin/debug_x32/jidctflt-sse2.o \
|
||||
../../../.bin/debug_x32/jidctfst-mmx.o \
|
||||
../../../.bin/debug_x32/jidctfst-sse2.o \
|
||||
../../../.bin/debug_x32/jidctint-mmx.o \
|
||||
../../../.bin/debug_x32/jidctint-sse2.o \
|
||||
../../../.bin/debug_x32/jidctred-mmx.o \
|
||||
../../../.bin/debug_x32/jidctred-sse2.o \
|
||||
../../../.bin/debug_x32/jquant-3dn.o \
|
||||
../../../.bin/debug_x32/jquant-mmx.o \
|
||||
../../../.bin/debug_x32/jquant-sse.o \
|
||||
../../../.bin/debug_x32/jquantf-sse2.o \
|
||||
../../../.bin/debug_x32/jquanti-sse2.o \
|
||||
$(OBJDIR)/jsimd_i386.o \
|
||||
../../../.bin/debug_x32/jsimdcpu.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
OBJECTS += \
|
||||
../../../.bin/debug_x64/jccolor-sse2-64.o \
|
||||
../../../.bin/debug_x64/jcgray-sse2-64.o \
|
||||
../../../.bin/debug_x64/jchuff-sse2-64.o \
|
||||
../../../.bin/debug_x64/jcsample-sse2-64.o \
|
||||
../../../.bin/debug_x64/jdcolor-sse2-64.o \
|
||||
../../../.bin/debug_x64/jdmerge-sse2-64.o \
|
||||
../../../.bin/debug_x64/jdsample-sse2-64.o \
|
||||
../../../.bin/debug_x64/jfdctflt-sse-64.o \
|
||||
../../../.bin/debug_x64/jfdctfst-sse2-64.o \
|
||||
../../../.bin/debug_x64/jfdctint-sse2-64.o \
|
||||
../../../.bin/debug_x64/jidctflt-sse2-64.o \
|
||||
../../../.bin/debug_x64/jidctfst-sse2-64.o \
|
||||
../../../.bin/debug_x64/jidctint-sse2-64.o \
|
||||
../../../.bin/debug_x64/jidctred-sse2-64.o \
|
||||
../../../.bin/debug_x64/jquantf-sse2-64.o \
|
||||
../../../.bin/debug_x64/jquanti-sse2-64.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x32)
|
||||
OBJECTS += \
|
||||
../../../.bin/release_x32/jccolor-mmx.o \
|
||||
../../../.bin/release_x32/jccolor-sse2.o \
|
||||
../../../.bin/release_x32/jcgray-mmx.o \
|
||||
../../../.bin/release_x32/jcgray-sse2.o \
|
||||
../../../.bin/release_x32/jchuff-sse2.o \
|
||||
../../../.bin/release_x32/jcsample-mmx.o \
|
||||
../../../.bin/release_x32/jcsample-sse2.o \
|
||||
../../../.bin/release_x32/jdcolor-mmx.o \
|
||||
../../../.bin/release_x32/jdcolor-sse2.o \
|
||||
../../../.bin/release_x32/jdmerge-mmx.o \
|
||||
../../../.bin/release_x32/jdmerge-sse2.o \
|
||||
../../../.bin/release_x32/jdsample-mmx.o \
|
||||
../../../.bin/release_x32/jdsample-sse2.o \
|
||||
../../../.bin/release_x32/jfdctflt-3dn.o \
|
||||
../../../.bin/release_x32/jfdctflt-sse.o \
|
||||
../../../.bin/release_x32/jfdctfst-mmx.o \
|
||||
../../../.bin/release_x32/jfdctfst-sse2.o \
|
||||
../../../.bin/release_x32/jfdctint-mmx.o \
|
||||
../../../.bin/release_x32/jfdctint-sse2.o \
|
||||
../../../.bin/release_x32/jidctflt-3dn.o \
|
||||
../../../.bin/release_x32/jidctflt-sse.o \
|
||||
../../../.bin/release_x32/jidctflt-sse2.o \
|
||||
../../../.bin/release_x32/jidctfst-mmx.o \
|
||||
../../../.bin/release_x32/jidctfst-sse2.o \
|
||||
../../../.bin/release_x32/jidctint-mmx.o \
|
||||
../../../.bin/release_x32/jidctint-sse2.o \
|
||||
../../../.bin/release_x32/jidctred-mmx.o \
|
||||
../../../.bin/release_x32/jidctred-sse2.o \
|
||||
../../../.bin/release_x32/jquant-3dn.o \
|
||||
../../../.bin/release_x32/jquant-mmx.o \
|
||||
../../../.bin/release_x32/jquant-sse.o \
|
||||
../../../.bin/release_x32/jquantf-sse2.o \
|
||||
../../../.bin/release_x32/jquanti-sse2.o \
|
||||
$(OBJDIR)/jsimd_i386.o \
|
||||
../../../.bin/release_x32/jsimdcpu.o \
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
OBJECTS += \
|
||||
../../../.bin/release_x64/jccolor-sse2-64.o \
|
||||
../../../.bin/release_x64/jcgray-sse2-64.o \
|
||||
../../../.bin/release_x64/jchuff-sse2-64.o \
|
||||
../../../.bin/release_x64/jcsample-sse2-64.o \
|
||||
../../../.bin/release_x64/jdcolor-sse2-64.o \
|
||||
../../../.bin/release_x64/jdmerge-sse2-64.o \
|
||||
../../../.bin/release_x64/jdsample-sse2-64.o \
|
||||
../../../.bin/release_x64/jfdctflt-sse-64.o \
|
||||
../../../.bin/release_x64/jfdctfst-sse2-64.o \
|
||||
../../../.bin/release_x64/jfdctint-sse2-64.o \
|
||||
../../../.bin/release_x64/jidctflt-sse2-64.o \
|
||||
../../../.bin/release_x64/jidctfst-sse2-64.o \
|
||||
../../../.bin/release_x64/jidctint-sse2-64.o \
|
||||
../../../.bin/release_x64/jidctred-sse2-64.o \
|
||||
../../../.bin/release_x64/jquantf-sse2-64.o \
|
||||
../../../.bin/release_x64/jquanti-sse2-64.o \
|
||||
$(OBJDIR)/jsimd_x86_64.o \
|
||||
|
||||
endif
|
||||
|
||||
SHELLTYPE := msdos
|
||||
ifeq (,$(ComSpec)$(COMSPEC))
|
||||
SHELLTYPE := posix
|
||||
|
@ -375,9 +480,512 @@ $(OBJDIR)/jquant2.o: ../../code/libjpeg-turbo/jquant2.c
|
|||
$(OBJDIR)/jutils.o: ../../code/libjpeg-turbo/jutils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jccolor-mmx.o: ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
@echo "jccolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jccolor-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jccolor-mmx.o: ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
@echo "jccolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jccolor-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jccolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
@echo "jccolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jccolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jccolor-sse2.o: ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
@echo "jccolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jccolor-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jccolor-sse2.o: ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
@echo "jccolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jccolor-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jcgray-mmx.o: ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
@echo "jcgray-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jcgray-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jcgray-mmx.o: ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
@echo "jcgray-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jcgray-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jcgray-sse2-64.o: ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
@echo "jcgray-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jcgray-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jcgray-sse2.o: ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
@echo "jcgray-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jcgray-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jcgray-sse2.o: ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
@echo "jcgray-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jcgray-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jchuff-sse2-64.o: ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
@echo "jchuff-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jchuff-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jchuff-sse2.o: ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
@echo "jchuff-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jchuff-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jchuff-sse2.o: ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
@echo "jchuff-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jchuff-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jcsample-mmx.o: ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
@echo "jcsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jcsample-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jcsample-mmx.o: ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
@echo "jcsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jcsample-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jcsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
@echo "jcsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jcsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jcsample-sse2.o: ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
@echo "jcsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jcsample-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jcsample-sse2.o: ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
@echo "jcsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jcsample-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdcolor-mmx.o: ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
@echo "jdcolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdcolor-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdcolor-mmx.o: ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
@echo "jdcolor-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdcolor-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jdcolor-sse2-64.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
@echo "jdcolor-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jdcolor-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdcolor-sse2.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
@echo "jdcolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdcolor-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdcolor-sse2.o: ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
@echo "jdcolor-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdcolor-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdmerge-mmx.o: ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
@echo "jdmerge-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdmerge-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdmerge-mmx.o: ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
@echo "jdmerge-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdmerge-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jdmerge-sse2-64.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
@echo "jdmerge-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jdmerge-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdmerge-sse2.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
@echo "jdmerge-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdmerge-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdmerge-sse2.o: ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
@echo "jdmerge-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdmerge-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdsample-mmx.o: ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
@echo "jdsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdsample-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdsample-mmx.o: ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
@echo "jdsample-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdsample-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jdsample-sse2-64.o: ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
@echo "jdsample-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jdsample-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jdsample-sse2.o: ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
@echo "jdsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jdsample-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jdsample-sse2.o: ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
@echo "jdsample-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jdsample-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctflt-3dn.o: ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
@echo "jfdctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctflt-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctflt-3dn.o: ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
@echo "jfdctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctflt-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jfdctflt-sse-64.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
@echo "jfdctflt-sse-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jfdctflt-sse-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctflt-sse.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
@echo "jfdctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctflt-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctflt-sse.o: ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
@echo "jfdctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctflt-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctfst-mmx.o: ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
@echo "jfdctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctfst-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctfst-mmx.o: ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
@echo "jfdctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctfst-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jfdctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
@echo "jfdctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jfdctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctfst-sse2.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
@echo "jfdctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctfst-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctfst-sse2.o: ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
@echo "jfdctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctfst-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctint-mmx.o: ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
@echo "jfdctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctint-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctint-mmx.o: ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
@echo "jfdctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctint-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jfdctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
@echo "jfdctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jfdctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jfdctint-sse2.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
@echo "jfdctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jfdctint-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jfdctint-sse2.o: ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
@echo "jfdctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jfdctint-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctflt-3dn.o: ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
@echo "jidctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctflt-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctflt-3dn.o: ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
@echo "jidctflt-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctflt-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctflt-sse.o: ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
@echo "jidctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctflt-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctflt-sse.o: ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
@echo "jidctflt-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctflt-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jidctflt-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
@echo "jidctflt-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jidctflt-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctflt-sse2.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
@echo "jidctflt-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctflt-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctflt-sse2.o: ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
@echo "jidctflt-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctflt-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctfst-mmx.o: ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
@echo "jidctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctfst-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctfst-mmx.o: ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
@echo "jidctfst-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctfst-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jidctfst-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
@echo "jidctfst-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jidctfst-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctfst-sse2.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
@echo "jidctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctfst-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctfst-sse2.o: ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
@echo "jidctfst-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctfst-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctint-mmx.o: ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
@echo "jidctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctint-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctint-mmx.o: ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
@echo "jidctint-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctint-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jidctint-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
@echo "jidctint-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jidctint-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctint-sse2.o: ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
@echo "jidctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctint-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctint-sse2.o: ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
@echo "jidctint-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctint-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctred-mmx.o: ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
@echo "jidctred-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctred-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctred-mmx.o: ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
@echo "jidctred-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctred-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jidctred-sse2-64.o: ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
@echo "jidctred-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jidctred-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jidctred-sse2.o: ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
@echo "jidctred-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jidctred-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jidctred-sse2.o: ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
@echo "jidctred-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jidctred-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jquant-3dn.o: ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
@echo "jquant-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jquant-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jquant-3dn.o: ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
@echo "jquant-3dn.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jquant-3dn.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jquant-mmx.o: ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
@echo "jquant-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jquant-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jquant-mmx.o: ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
@echo "jquant-mmx.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jquant-mmx.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jquant-sse.o: ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
@echo "jquant-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jquant-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jquant-sse.o: ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
@echo "jquant-sse.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jquant-sse.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jquantf-sse2-64.o: ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
@echo "jquantf-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jquantf-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jquantf-sse2.o: ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
@echo "jquantf-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jquantf-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jquantf-sse2.o: ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
@echo "jquantf-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jquantf-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x64)
|
||||
../../../.bin/debug_x64/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x64/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),release_x64)
|
||||
../../../.bin/release_x64/jquanti-sse2-64.o: ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
@echo "jquanti-sse2-64.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x64/jquanti-sse2-64.o -felf64 -DELF -D__x86_64__ -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2-64.asm
|
||||
endif
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jquanti-sse2.o: ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
@echo "jquanti-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jquanti-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jquanti-sse2.o: ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
@echo "jquanti-sse2.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jquanti-sse2.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jquanti-sse2.asm
|
||||
endif
|
||||
$(OBJDIR)/jsimd_i386.o: ../../code/libjpeg-turbo/simd/jsimd_i386.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/jsimd_x86_64.o: ../../code/libjpeg-turbo/simd/jsimd_x86_64.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
ifeq ($(config),debug_x32)
|
||||
../../../.bin/debug_x32/jsimdcpu.o: ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
@echo "jsimdcpu.asm"
|
||||
$(SILENT) nasm -o../../../.bin/debug_x32/jsimdcpu.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
endif
|
||||
ifeq ($(config),release_x32)
|
||||
../../../.bin/release_x32/jsimdcpu.o: ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
@echo "jsimdcpu.asm"
|
||||
$(SILENT) nasm -o../../../.bin/release_x32/jsimdcpu.o -felf32 -DELF -I../../../cnq3/code/libjpeg-turbo/ -I../../../cnq3/code/libjpeg-turbo/win/ -I../../../cnq3/code/libjpeg-turbo/simd/ ../../code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
endif
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
|
|
|
@ -12,7 +12,7 @@ endif
|
|||
|
||||
ifeq ($(config),debug_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug
|
||||
TARGETDIR = ../../../.bin/debug_x32
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = obj/x32/debug/renderer
|
||||
DEFINES += -DDEBUG -D_DEBUG
|
||||
|
@ -24,7 +24,34 @@ ifeq ($(config),debug_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/debug_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),debug_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/debug_x64
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = obj/x64/debug/renderer
|
||||
DEFINES += -DDEBUG -D_DEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -Wno-unused-parameter -Wno-write-strings
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/debug_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
@ -39,7 +66,7 @@ endif
|
|||
|
||||
ifeq ($(config),release_x32)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release
|
||||
TARGETDIR = ../../../.bin/release_x32
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = obj/x32/release/renderer
|
||||
DEFINES += -DNDEBUG
|
||||
|
@ -51,7 +78,34 @@ ifeq ($(config),release_x32)
|
|||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release -m32
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -L../../../.bin/release_x32 -m32
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
all: $(TARGETDIR) $(OBJDIR) prebuild prelink $(TARGET)
|
||||
@:
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_x64)
|
||||
RESCOMP = windres
|
||||
TARGETDIR = ../../../.bin/release_x64
|
||||
TARGET = $(TARGETDIR)/librenderer.a
|
||||
OBJDIR = obj/x64/release/renderer
|
||||
DEFINES += -DNDEBUG
|
||||
INCLUDES += -I../../code/freetype/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fomit-frame-pointer -ffast-math -Os -g -msse2 -Wno-unused-parameter -Wno-write-strings -g1
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CFLAGS) -fno-exceptions -fno-rtti
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -L../../../.bin/release_x64 -m64
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
|
|
|
@ -35,43 +35,11 @@ abs_path_q3 = path.getabsolute(_OPTIONS["quake3dir"]) -- os.realpath won't work
|
|||
|
||||
extra_warnings = 1
|
||||
|
||||
jpeg_asm_file_names =
|
||||
{
|
||||
"jsimdcpu",
|
||||
"jfdctflt-3dn",
|
||||
"jidctflt-3dn",
|
||||
"jquant-3dn",
|
||||
"jccolor-mmx",
|
||||
"jcgray-mmx",
|
||||
"jcsample-mmx",
|
||||
"jdcolor-mmx",
|
||||
"jdmerge-mmx",
|
||||
"jdsample-mmx",
|
||||
"jfdctfst-mmx",
|
||||
"jfdctint-mmx",
|
||||
"jidctfst-mmx",
|
||||
"jidctint-mmx",
|
||||
"jidctred-mmx",
|
||||
"jquant-mmx",
|
||||
"jfdctflt-sse",
|
||||
"jidctflt-sse",
|
||||
"jquant-sse",
|
||||
"jccolor-sse2",
|
||||
"jcgray-sse2",
|
||||
"jchuff-sse2",
|
||||
"jcsample-sse2",
|
||||
"jdcolor-sse2",
|
||||
"jdmerge-sse2",
|
||||
"jdsample-sse2",
|
||||
"jfdctfst-sse2",
|
||||
"jfdctint-sse2",
|
||||
"jidctflt-sse2",
|
||||
"jidctfst-sse2",
|
||||
"jidctint-sse2",
|
||||
"jidctred-sse2",
|
||||
"jquantf-sse2",
|
||||
"jquanti-sse2"
|
||||
}
|
||||
local function GetBinDirName()
|
||||
|
||||
return "%{cfg.buildcfg}_%{cfg.platform}"
|
||||
|
||||
end
|
||||
|
||||
local function CreateGitPreBuildCommand(scriptExtension)
|
||||
|
||||
|
@ -83,7 +51,7 @@ end
|
|||
|
||||
local function CreateExeCopyPostBuildCommand(copyCommand, exeName, exeExtension)
|
||||
|
||||
local make_path_exe = string.format("%s/%s/%s%s", make_path_bin, "%{cfg.buildcfg}", exeName, exeExtension)
|
||||
local make_path_exe = string.format("%s/%s/%s%s", make_path_bin, GetBinDirName(), exeName, exeExtension)
|
||||
|
||||
return string.format("%s \"%s\" \"%s\"", copyCommand, make_path_exe, abs_path_q3)
|
||||
|
||||
|
@ -91,7 +59,7 @@ end
|
|||
|
||||
local function WIN_CreatePdbCopyPostBuildCommand(exeName)
|
||||
|
||||
local make_path_pdb = string.format("%s/%s/%s.pdb", make_path_bin, "%{cfg.buildcfg}", exeName)
|
||||
local make_path_pdb = string.format("%s/%s/%s.pdb", make_path_bin, GetBinDirName(), exeName)
|
||||
|
||||
return string.format("copy \"%s\" \"%s\"", make_path_pdb, abs_path_q3)
|
||||
|
||||
|
@ -131,10 +99,18 @@ local function AddHeaders(dirPath)
|
|||
|
||||
end
|
||||
|
||||
local function AddSourcesFromArray(sourceFiles)
|
||||
local function AddSourcesFromArray(dir, sourceFiles)
|
||||
|
||||
for idx,path in pairs(sourceFiles) do
|
||||
files { string.format("%s/%s", path_src, path) }
|
||||
files { string.format("%s/%s/%s", path_src, dir, path) }
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
local function AddAssemblerSourcesFromArray(dir, fileNames)
|
||||
|
||||
for idx,path in pairs(fileNames) do
|
||||
files { string.format("%s/%s/%s.asm", path_src, dir, path) }
|
||||
end
|
||||
|
||||
end
|
||||
|
@ -145,14 +121,45 @@ local function GetMakePath(premakePath)
|
|||
|
||||
end
|
||||
|
||||
local function GetJpegObjPath()
|
||||
-- premake tokens for this script:
|
||||
-- cfg.buildcfg -> "debug", "release"
|
||||
-- cfg.architecture -> "x86", "x86_64"
|
||||
-- cfg.system -> "windows", "linux"
|
||||
-- cfg.platform -> "x32", "x64"
|
||||
|
||||
local obj_format = "win32"
|
||||
if os.is("linux") then
|
||||
obj_format = "elf32"
|
||||
local function GetLibJpegTurboNasmFlags()
|
||||
|
||||
libjpeg_turbo_nasm_flags_map =
|
||||
{
|
||||
windows_x32 = "-fwin32 -DWIN32",
|
||||
windows_x64 = "-fwin64 -DWIN64 -D__x86_64__",
|
||||
linux_x32 = "-felf32 -DELF",
|
||||
linux_x64 = "-felf64 -DELF -D__x86_64__"
|
||||
}
|
||||
|
||||
return "%{libjpeg_turbo_nasm_flags_map[cfg.system..\"_\"..cfg.platform]}"
|
||||
|
||||
end
|
||||
|
||||
local function GetCompilerObjectExtension()
|
||||
|
||||
if _ACTION == "gmake" then
|
||||
return ".o"
|
||||
end
|
||||
|
||||
return string.format("%s/nasm/libjpeg-turbo/%s", GetMakePath(path_build), obj_format)
|
||||
return ".obj"
|
||||
|
||||
end
|
||||
|
||||
local function GetExeNameSuffix()
|
||||
|
||||
platform_exe_name_suffix_map =
|
||||
{
|
||||
x32 = "-x86",
|
||||
x64 = "-x64"
|
||||
}
|
||||
|
||||
return "%{platform_exe_name_suffix_map[cfg.platform]}"
|
||||
|
||||
end
|
||||
|
||||
|
@ -188,10 +195,8 @@ local function ApplyProjectSettings()
|
|||
}
|
||||
|
||||
-- Build directories
|
||||
filter "configurations:debug"
|
||||
SetTargetAndLink ( path_bin.."/debug" )
|
||||
filter "configurations:release"
|
||||
SetTargetAndLink ( path_bin.."/release" )
|
||||
filter { }
|
||||
SetTargetAndLink ( string.format("%s/%s", path_bin, GetBinDirName()) )
|
||||
|
||||
--
|
||||
-- Visual C++
|
||||
|
@ -225,6 +230,11 @@ local function ApplyProjectSettings()
|
|||
buildoptions { "/GL" }
|
||||
linkoptions { "" }
|
||||
|
||||
-- disable the "conversion from 'X' to 'Y', possible loss of data" warning
|
||||
-- this should be removed once the x64 port is complete
|
||||
filter { "action:vs*", "platforms:x64" }
|
||||
buildoptions { "/wd4267" }
|
||||
|
||||
--
|
||||
-- GCC
|
||||
--
|
||||
|
@ -258,7 +268,8 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
ApplyProjectSettings()
|
||||
|
||||
filter { }
|
||||
|
||||
|
||||
exeName = exeName..GetExeNameSuffix()
|
||||
targetname(exeName)
|
||||
|
||||
local server_sources =
|
||||
|
@ -396,9 +407,9 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
links { "botlib" }
|
||||
|
||||
if (server == 1) then
|
||||
AddSourcesFromArray(server_sources)
|
||||
AddSourcesFromArray(".", server_sources)
|
||||
else
|
||||
AddSourcesFromArray(client_sources)
|
||||
AddSourcesFromArray(".", client_sources)
|
||||
includedirs { path_src.."/freetype/include" }
|
||||
AddHeaders("renderer")
|
||||
links { "renderer", "freetype", "libjpeg-turbo" }
|
||||
|
@ -406,17 +417,17 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
|
||||
filter { "system:windows" }
|
||||
if (server == 1) then
|
||||
AddSourcesFromArray(server_sources_windows)
|
||||
AddSourcesFromArray(".", server_sources_windows)
|
||||
else
|
||||
AddSourcesFromArray(client_sources_windows)
|
||||
AddSourcesFromArray(".", client_sources_windows)
|
||||
end
|
||||
AddHeaders("win32")
|
||||
|
||||
filter { "system:not windows" }
|
||||
if (server == 1) then
|
||||
AddSourcesFromArray(server_sources_unix)
|
||||
AddSourcesFromArray(".", server_sources_unix)
|
||||
else
|
||||
AddSourcesFromArray(client_sources_unix)
|
||||
AddSourcesFromArray(".", client_sources_unix)
|
||||
end
|
||||
|
||||
-- create git info header
|
||||
|
@ -468,13 +479,6 @@ local function ApplyExeProjectSettings(exeName, server)
|
|||
-- otherwise, we run into problems (that should really be fixed)
|
||||
filter "action:gmake"
|
||||
buildoptions { "-x c++" }
|
||||
|
||||
if (server == 0 and os.is("linux")) then
|
||||
for idx,name in pairs(jpeg_asm_file_names) do
|
||||
local obj_path = string.format("%s/%s.obj", GetJpegObjPath(), name)
|
||||
linkoptions { obj_path }
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
@ -482,118 +486,171 @@ local function ApplyLibJpegTurboProjectSettings()
|
|||
|
||||
local jpeg_sources =
|
||||
{
|
||||
"libjpeg-turbo/jcapimin.c",
|
||||
"libjpeg-turbo/jcapistd.c",
|
||||
"libjpeg-turbo/jccoefct.c",
|
||||
"libjpeg-turbo/jccolor.c",
|
||||
"libjpeg-turbo/jcdctmgr.c",
|
||||
"libjpeg-turbo/jchuff.c",
|
||||
"libjpeg-turbo/jcinit.c",
|
||||
"libjpeg-turbo/jcmainct.c",
|
||||
"libjpeg-turbo/jcmarker.c",
|
||||
"libjpeg-turbo/jcmaster.c",
|
||||
"libjpeg-turbo/jcomapi.c",
|
||||
"libjpeg-turbo/jcparam.c",
|
||||
"libjpeg-turbo/jcphuff.c",
|
||||
"libjpeg-turbo/jcprepct.c",
|
||||
"libjpeg-turbo/jcsample.c",
|
||||
"libjpeg-turbo/jctrans.c",
|
||||
"libjpeg-turbo/jdapimin.c",
|
||||
"libjpeg-turbo/jdapistd.c",
|
||||
"libjpeg-turbo/jdatadst.c",
|
||||
"libjpeg-turbo/jdatasrc.c",
|
||||
"libjpeg-turbo/jdcoefct.c",
|
||||
"libjpeg-turbo/jdcolor.c",
|
||||
"libjpeg-turbo/jddctmgr.c",
|
||||
"libjpeg-turbo/jdhuff.c",
|
||||
"libjpeg-turbo/jdinput.c",
|
||||
"libjpeg-turbo/jdmainct.c",
|
||||
"libjpeg-turbo/jdmarker.c",
|
||||
"libjpeg-turbo/jdmaster.c",
|
||||
"libjpeg-turbo/jdmerge.c",
|
||||
"libjpeg-turbo/jdphuff.c",
|
||||
"libjpeg-turbo/jdpostct.c",
|
||||
"libjpeg-turbo/jdsample.c",
|
||||
"libjpeg-turbo/jdtrans.c",
|
||||
"libjpeg-turbo/jerror.c",
|
||||
"libjpeg-turbo/jfdctflt.c",
|
||||
"libjpeg-turbo/jfdctfst.c",
|
||||
"libjpeg-turbo/jfdctint.c",
|
||||
"libjpeg-turbo/jidctflt.c",
|
||||
"libjpeg-turbo/jidctfst.c",
|
||||
"libjpeg-turbo/jidctint.c",
|
||||
"libjpeg-turbo/jidctred.c",
|
||||
"libjpeg-turbo/jquant1.c",
|
||||
"libjpeg-turbo/jquant2.c",
|
||||
"libjpeg-turbo/jutils.c",
|
||||
"libjpeg-turbo/jmemmgr.c",
|
||||
"libjpeg-turbo/simd/jsimd_i386.c"
|
||||
"jcapimin.c",
|
||||
"jcapistd.c",
|
||||
"jccoefct.c",
|
||||
"jccolor.c",
|
||||
"jcdctmgr.c",
|
||||
"jchuff.c",
|
||||
"jcinit.c",
|
||||
"jcmainct.c",
|
||||
"jcmarker.c",
|
||||
"jcmaster.c",
|
||||
"jcomapi.c",
|
||||
"jcparam.c",
|
||||
"jcphuff.c",
|
||||
"jcprepct.c",
|
||||
"jcsample.c",
|
||||
"jctrans.c",
|
||||
"jdapimin.c",
|
||||
"jdapistd.c",
|
||||
"jdatadst.c",
|
||||
"jdatasrc.c",
|
||||
"jdcoefct.c",
|
||||
"jdcolor.c",
|
||||
"jddctmgr.c",
|
||||
"jdhuff.c",
|
||||
"jdinput.c",
|
||||
"jdmainct.c",
|
||||
"jdmarker.c",
|
||||
"jdmaster.c",
|
||||
"jdmerge.c",
|
||||
"jdphuff.c",
|
||||
"jdpostct.c",
|
||||
"jdsample.c",
|
||||
"jdtrans.c",
|
||||
"jerror.c",
|
||||
"jfdctflt.c",
|
||||
"jfdctfst.c",
|
||||
"jfdctint.c",
|
||||
"jidctflt.c",
|
||||
"jidctfst.c",
|
||||
"jidctint.c",
|
||||
"jidctred.c",
|
||||
"jquant1.c",
|
||||
"jquant2.c",
|
||||
"jutils.c",
|
||||
"jmemmgr.c"
|
||||
}
|
||||
|
||||
AddSourcesFromArray(jpeg_sources)
|
||||
local jpeg_asm_sources_x86 =
|
||||
{
|
||||
"jsimdcpu",
|
||||
"jfdctflt-3dn",
|
||||
"jidctflt-3dn",
|
||||
"jquant-3dn",
|
||||
"jccolor-mmx",
|
||||
"jcgray-mmx",
|
||||
"jcsample-mmx",
|
||||
"jdcolor-mmx",
|
||||
"jdmerge-mmx",
|
||||
"jdsample-mmx",
|
||||
"jfdctfst-mmx",
|
||||
"jfdctint-mmx",
|
||||
"jidctfst-mmx",
|
||||
"jidctint-mmx",
|
||||
"jidctred-mmx",
|
||||
"jquant-mmx",
|
||||
"jfdctflt-sse",
|
||||
"jidctflt-sse",
|
||||
"jquant-sse",
|
||||
"jccolor-sse2",
|
||||
"jcgray-sse2",
|
||||
"jchuff-sse2",
|
||||
"jcsample-sse2",
|
||||
"jdcolor-sse2",
|
||||
"jdmerge-sse2",
|
||||
"jdsample-sse2",
|
||||
"jfdctfst-sse2",
|
||||
"jfdctint-sse2",
|
||||
"jidctflt-sse2",
|
||||
"jidctfst-sse2",
|
||||
"jidctint-sse2",
|
||||
"jidctred-sse2",
|
||||
"jquantf-sse2",
|
||||
"jquanti-sse2"
|
||||
}
|
||||
|
||||
local jpeg_asm_sources_x64 =
|
||||
{
|
||||
"jfdctflt-sse-64",
|
||||
"jccolor-sse2-64",
|
||||
"jcgray-sse2-64",
|
||||
"jchuff-sse2-64",
|
||||
"jcsample-sse2-64",
|
||||
"jdcolor-sse2-64",
|
||||
"jdmerge-sse2-64",
|
||||
"jdsample-sse2-64",
|
||||
"jfdctfst-sse2-64",
|
||||
"jfdctint-sse2-64",
|
||||
"jidctflt-sse2-64",
|
||||
"jidctfst-sse2-64",
|
||||
"jidctint-sse2-64",
|
||||
"jidctred-sse2-64",
|
||||
"jquantf-sse2-64",
|
||||
"jquanti-sse2-64"
|
||||
}
|
||||
|
||||
AddSourcesFromArray("libjpeg-turbo", jpeg_sources)
|
||||
includedirs { path_src.."/libjpeg-turbo", path_src.."/libjpeg-turbo/simd" }
|
||||
defines { "WITH_SIMD", "SIZEOF_SIZE_T=4" }
|
||||
defines { "WITH_SIMD" }
|
||||
|
||||
filter "platforms:x32"
|
||||
AddAssemblerSourcesFromArray("libjpeg-turbo/simd", jpeg_asm_sources_x86)
|
||||
files { path_src.."/libjpeg-turbo/simd/jsimd_i386.c" }
|
||||
defines { "SIZEOF_SIZE_T=4" }
|
||||
|
||||
filter "platforms:x64"
|
||||
AddAssemblerSourcesFromArray("libjpeg-turbo/simd", jpeg_asm_sources_x64)
|
||||
files { path_src.."/libjpeg-turbo/simd/jsimd_x86_64.c" }
|
||||
defines { "SIZEOF_SIZE_T=8" }
|
||||
|
||||
local asm_inc_path = GetMakePath(path_src.."/libjpeg-turbo")
|
||||
local nasm_flags;
|
||||
local nasm_flags = GetLibJpegTurboNasmFlags()
|
||||
local nasm_includes
|
||||
if os.is("windows") then
|
||||
asm_inc_path = path.translate(asm_inc_path, "\\")
|
||||
nasm_flags = string.format("-fwin32 -DWIN32 -I%s\\ -I%s\\win\\ -I%s\\simd\\", asm_inc_path, asm_inc_path, asm_inc_path)
|
||||
nasm_includes = string.format("-I%s\\ -I%s\\win\\ -I%s\\simd\\", asm_inc_path, asm_inc_path, asm_inc_path)
|
||||
else
|
||||
nasm_flags = string.format("-felf32 -DELF -I%s/ -I%s/win/ -I%s/simd/", asm_inc_path, asm_inc_path, asm_inc_path)
|
||||
nasm_includes = string.format("-I%s/ -I%s/win/ -I%s/simd/", asm_inc_path, asm_inc_path, asm_inc_path)
|
||||
end
|
||||
|
||||
-- the very first pre-build step is to make sure the output directory exists
|
||||
-- no, NASM will not create it for us if it doesn't exist
|
||||
|
||||
local obj_file_path = string.format("%s%s", "%{cfg.targetdir}/%{file.basename}", GetCompilerObjectExtension())
|
||||
local command = string.format("nasm -o%s %s %s %s", obj_file_path, nasm_flags, nasm_includes, "%{file.relpath}")
|
||||
if os.is("windows") then
|
||||
local obj_path = path.translate(string.format("%s/", GetJpegObjPath()), "\\")
|
||||
prebuildcommands { string.format("if not exist \"%s\" mkdir \"%s\"", obj_path, obj_path) }
|
||||
else
|
||||
prebuildcommands { string.format("mkdir -p %s", GetJpegObjPath()) }
|
||||
command = path.translate(command, "\\")
|
||||
obj_file_path = path.translate(obj_file_path, "\\")
|
||||
end
|
||||
|
||||
for idx,name in pairs(jpeg_asm_file_names) do
|
||||
local src_path = string.format("%s/libjpeg-turbo/simd/%s.asm", GetMakePath(path_src), name)
|
||||
local obj_path = string.format("%s/%s.obj", GetJpegObjPath(), name)
|
||||
if os.is("windows") then
|
||||
obj_path = path.translate(obj_path, "\\")
|
||||
end
|
||||
prebuildcommands { string.format("echo %s.asm && nasm -o%s %s %s ", name, obj_path, nasm_flags, src_path) }
|
||||
-- on Linux, we link those directly against the client
|
||||
if os.is("windows") then
|
||||
linkoptions { obj_path }
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
filter "files:**.asm"
|
||||
buildmessage "%{file.basename}.asm"
|
||||
buildcommands { command }
|
||||
buildoutputs { obj_file_path }
|
||||
|
||||
extra_warnings = 0
|
||||
ApplyLibProjectSettings()
|
||||
extra_warnings = 1
|
||||
|
||||
end
|
||||
|
||||
exe_suffix = "";
|
||||
if os.is("linux") then
|
||||
exe_suffix = "-x86"
|
||||
end
|
||||
|
||||
solution "cnq3"
|
||||
|
||||
location ( path_build.."/".._ACTION )
|
||||
platforms { "x32" }
|
||||
platforms { "x32", "x64" }
|
||||
configurations { "debug", "release" }
|
||||
|
||||
project "cnq3"
|
||||
|
||||
kind "WindowedApp"
|
||||
language "C++"
|
||||
ApplyExeProjectSettings("cnq3"..exe_suffix, 0)
|
||||
ApplyExeProjectSettings("cnq3", 0)
|
||||
|
||||
project "cnq3-server"
|
||||
|
||||
kind "WindowedApp"
|
||||
language "C++"
|
||||
defines { "DEDICATED" }
|
||||
ApplyExeProjectSettings("cnq3-server"..exe_suffix, 1)
|
||||
ApplyExeProjectSettings("cnq3-server", 1)
|
||||
|
||||
project "botlib"
|
||||
|
||||
|
@ -610,9 +667,9 @@ solution "cnq3"
|
|||
AddSourcesAndHeaders("renderer")
|
||||
includedirs { path_src.."/freetype/include" }
|
||||
ApplyLibProjectSettings()
|
||||
|
||||
|
||||
project "libjpeg-turbo"
|
||||
|
||||
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
ApplyLibJpegTurboProjectSettings()
|
||||
|
@ -621,21 +678,23 @@ solution "cnq3"
|
|||
|
||||
local ft_sources =
|
||||
{
|
||||
"freetype/src/base/ftbbox.c",
|
||||
"freetype/src/base/ftsynth.c",
|
||||
"freetype/src/base/ftbase.c",
|
||||
"freetype/src/base/ftglyph.c",
|
||||
"freetype/src/base/ftinit.c",
|
||||
"freetype/src/base/ftstroke.c",
|
||||
"freetype/src/base/ftsystem.c",
|
||||
"freetype/src/sfnt/sfnt.c",
|
||||
"freetype/src/smooth/smooth.c",
|
||||
"freetype/src/truetype/truetype.c"
|
||||
"base/ftbbox.c",
|
||||
"base/ftsynth.c",
|
||||
"base/ftbase.c",
|
||||
"base/ftglyph.c",
|
||||
"base/ftinit.c",
|
||||
"base/ftstroke.c",
|
||||
"base/ftsystem.c",
|
||||
"sfnt/sfnt.c",
|
||||
"smooth/smooth.c",
|
||||
"truetype/truetype.c"
|
||||
}
|
||||
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
AddSourcesFromArray(ft_sources)
|
||||
AddSourcesFromArray("freetype/src", ft_sources)
|
||||
includedirs { path_src.."/freetype/include" }
|
||||
defines { "_LIB", "FT2_BUILD_LIBRARY", "_BIND_TO_CURRENT_VCLIBS_VERSION=1" }
|
||||
ApplyLibProjectSettings()
|
||||
filter "action:vs*"
|
||||
buildoptions { "/wd4324" } -- "structure was padded due to __declspec(align())"
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{A1A792F4-8D49-BDCA-7604-D11E6245441B}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,30 +44,57 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\botlib\</IntDir>
|
||||
<TargetName>botlib</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -75,6 +116,27 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>BOTLIB;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -107,6 +169,37 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>BOTLIB;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\code\botlib\aasfile.h" />
|
||||
<ClInclude Include="..\..\code\botlib\be_aas.h" />
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,29 +44,58 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server</TargetName>
|
||||
<TargetName>cnq3-server-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server-x64</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server</TargetName>
|
||||
<TargetName>cnq3-server-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\cnq3-server\</IntDir>
|
||||
<TargetName>cnq3-server-x64</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
|
@ -73,15 +116,43 @@
|
|||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug_x32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\debug\cnq3-server.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug\cnq3-server.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\..\.bin\debug_x32\cnq3-server-x86.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug_x32\cnq3-server-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>DEDICATED;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\debug_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
|
@ -112,15 +183,53 @@ copy "..\..\..\.bin\debug\cnq3-server.pdb" "$(QUAKE3DIR)"</Command>
|
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release_x32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\release\cnq3-server.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release\cnq3-server.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\..\.bin\release_x32\cnq3-server-x86.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release_x32\cnq3-server-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>DEDICATED;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\release_x64\cnq3-server-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release_x64\cnq3-server-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -16,33 +16,59 @@ EndProject
|
|||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
debug|Win32 = debug|Win32
|
||||
debug|x64 = debug|x64
|
||||
release|Win32 = release|Win32
|
||||
release|x64 = release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.debug|Win32.Build.0 = debug|Win32
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.debug|x64.ActiveCfg = debug|x64
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.debug|x64.Build.0 = debug|x64
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.release|Win32.ActiveCfg = release|Win32
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.release|Win32.Build.0 = release|Win32
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.release|x64.ActiveCfg = release|x64
|
||||
{BA3B957C-A672-960D-4F5F-7C103B75120F}.release|x64.Build.0 = release|x64
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.debug|Win32.Build.0 = debug|Win32
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.debug|x64.ActiveCfg = debug|x64
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.debug|x64.Build.0 = debug|x64
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.release|Win32.ActiveCfg = release|Win32
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.release|Win32.Build.0 = release|Win32
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.release|x64.ActiveCfg = release|x64
|
||||
{3EA67B52-AA5B-F447-3350-EE1E9F04EB4B}.release|x64.Build.0 = release|x64
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.debug|Win32.Build.0 = debug|Win32
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.debug|x64.ActiveCfg = debug|x64
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.debug|x64.Build.0 = debug|x64
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.release|Win32.ActiveCfg = release|Win32
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.release|Win32.Build.0 = release|Win32
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.release|x64.ActiveCfg = release|x64
|
||||
{A1A792F4-8D49-BDCA-7604-D11E6245441B}.release|x64.Build.0 = release|x64
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.debug|Win32.Build.0 = debug|Win32
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.debug|x64.ActiveCfg = debug|x64
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.debug|x64.Build.0 = debug|x64
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.release|Win32.ActiveCfg = release|Win32
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.release|Win32.Build.0 = release|Win32
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.release|x64.ActiveCfg = release|x64
|
||||
{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}.release|x64.Build.0 = release|x64
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.debug|Win32.Build.0 = debug|Win32
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.debug|x64.ActiveCfg = debug|x64
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.debug|x64.Build.0 = debug|x64
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.release|Win32.ActiveCfg = release|Win32
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.release|Win32.Build.0 = release|Win32
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.release|x64.ActiveCfg = release|x64
|
||||
{DB56484D-4717-C483-1052-0D017CD10860}.release|x64.Build.0 = release|x64
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.debug|Win32.ActiveCfg = debug|Win32
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.debug|Win32.Build.0 = debug|Win32
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.debug|x64.ActiveCfg = debug|x64
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.debug|x64.Build.0 = debug|x64
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.release|Win32.ActiveCfg = release|Win32
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.release|Win32.Build.0 = release|Win32
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.release|x64.ActiveCfg = release|x64
|
||||
{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}.release|x64.Build.0 = release|x64
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{BA3B957C-A672-960D-4F5F-7C103B75120F}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,29 +44,58 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\cnq3\</IntDir>
|
||||
<TargetName>cnq3</TargetName>
|
||||
<TargetName>cnq3-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\cnq3\</IntDir>
|
||||
<TargetName>cnq3-x64</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\cnq3\</IntDir>
|
||||
<TargetName>cnq3</TargetName>
|
||||
<TargetName>cnq3-x86</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\cnq3\</IntDir>
|
||||
<TargetName>cnq3-x64</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
|
@ -74,15 +117,44 @@
|
|||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug_x32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\debug\cnq3.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug\cnq3.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\..\.bin\debug_x32\cnq3-x86.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug_x32\cnq3-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\debug_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\debug_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\debug_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
|
@ -114,15 +186,54 @@ copy "..\..\..\.bin\debug\cnq3.pdb" "$(QUAKE3DIR)"</Command>
|
|||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release_x32;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\release\cnq3.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release\cnq3.pdb" "$(QUAKE3DIR)"</Command>
|
||||
<Command>copy "..\..\..\.bin\release_x32\cnq3-x86.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release_x32\cnq3-x86.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>Winmm.lib;ws2_32.lib;opengl32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalLibraryDirectories>..\..\..\.bin\release_x64;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
||||
<AdditionalOptions> ..\..\cnq3\code\win32\winquake.res /STACK:8388608 /OPT:REF /OPT:ICF %(AdditionalOptions)</AdditionalOptions>
|
||||
</Link>
|
||||
<PreBuildEvent>
|
||||
<Command>"..\..\..\cnq3tools\git\create_git_header.cmd" "..\..\code\qcommon\git.h"</Command>
|
||||
</PreBuildEvent>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "..\..\..\.bin\release_x64\cnq3-x64.exe" "$(QUAKE3DIR)"
|
||||
copy "..\..\..\.bin\release_x64\cnq3-x64.pdb" "$(QUAKE3DIR)"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{89895BD8-7556-B6E3-9E6F-A48B8A9BEB71}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,30 +44,57 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\freetype\</IntDir>
|
||||
<TargetName>freetype</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\freetype\</IntDir>
|
||||
<TargetName>freetype</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\freetype\</IntDir>
|
||||
<TargetName>freetype</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\freetype\</IntDir>
|
||||
<TargetName>freetype</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -66,7 +107,30 @@
|
|||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions>/Gm /wd4324 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>_LIB;FT2_BUILD_LIBRARY;_BIND_TO_CURRENT_VCLIBS_VERSION=1;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 /wd4324 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
@ -98,7 +162,40 @@
|
|||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions>/GL /wd4324 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>_LIB;FT2_BUILD_LIBRARY;_BIND_TO_CURRENT_VCLIBS_VERSION=1;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 /wd4324 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
|
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{DB56484D-4717-C483-1052-0D017CD10860}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,30 +44,57 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\libjpeg-turbo\</IntDir>
|
||||
<TargetName>libjpeg-turbo</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -74,45 +115,31 @@
|
|||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jsimdcpu.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jchuff-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquantf-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquanti-sse2.obj %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\libjpeg-turbo;..\..\code\libjpeg-turbo\simd;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
<PreBuildEvent>
|
||||
<Command>if not exist "..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\" mkdir "..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\"
|
||||
echo jsimdcpu.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jsimdcpu.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
echo jfdctflt-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
echo jidctflt-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
echo jquant-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
echo jccolor-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
echo jcgray-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
echo jcsample-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
echo jdcolor-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
echo jdmerge-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
echo jdsample-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
echo jfdctfst-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
echo jfdctint-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
echo jidctfst-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
echo jidctint-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
echo jidctred-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
echo jquant-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
echo jfdctflt-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
echo jidctflt-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
echo jquant-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
echo jccolor-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
echo jcgray-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
echo jchuff-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jchuff-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
echo jcsample-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
echo jdcolor-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
echo jdmerge-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
echo jdsample-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
echo jfdctfst-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
echo jfdctint-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
echo jidctflt-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
echo jidctfst-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
echo jidctint-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
echo jidctred-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
echo jquantf-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquantf-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
echo jquanti-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquanti-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquanti-sse2.asm </Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ClCompile>
|
||||
|
@ -145,45 +172,41 @@ echo jquanti-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\w
|
|||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions>..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jsimdcpu.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-3dn.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-mmx.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-sse.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jchuff-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquantf-sse2.obj ..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquanti-sse2.obj %(AdditionalOptions)</AdditionalOptions>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>WITH_SIMD;SIZEOF_SIZE_T=8;NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\libjpeg-turbo;..\..\code\libjpeg-turbo\simd;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
<CompileAs>CompileAsC</CompileAs>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
<PreBuildEvent>
|
||||
<Command>if not exist "..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\" mkdir "..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\"
|
||||
echo jsimdcpu.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jsimdcpu.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jsimdcpu.asm
|
||||
echo jfdctflt-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-3dn.asm
|
||||
echo jidctflt-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-3dn.asm
|
||||
echo jquant-3dn.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-3dn.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-3dn.asm
|
||||
echo jccolor-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-mmx.asm
|
||||
echo jcgray-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-mmx.asm
|
||||
echo jcsample-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-mmx.asm
|
||||
echo jdcolor-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-mmx.asm
|
||||
echo jdmerge-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-mmx.asm
|
||||
echo jdsample-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-mmx.asm
|
||||
echo jfdctfst-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-mmx.asm
|
||||
echo jfdctint-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-mmx.asm
|
||||
echo jidctfst-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-mmx.asm
|
||||
echo jidctint-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-mmx.asm
|
||||
echo jidctred-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-mmx.asm
|
||||
echo jquant-mmx.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-mmx.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-mmx.asm
|
||||
echo jfdctflt-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctflt-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctflt-sse.asm
|
||||
echo jidctflt-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse.asm
|
||||
echo jquant-sse.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquant-sse.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquant-sse.asm
|
||||
echo jccolor-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jccolor-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jccolor-sse2.asm
|
||||
echo jcgray-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcgray-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcgray-sse2.asm
|
||||
echo jchuff-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jchuff-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jchuff-sse2.asm
|
||||
echo jcsample-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jcsample-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jcsample-sse2.asm
|
||||
echo jdcolor-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdcolor-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdcolor-sse2.asm
|
||||
echo jdmerge-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdmerge-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdmerge-sse2.asm
|
||||
echo jdsample-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jdsample-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jdsample-sse2.asm
|
||||
echo jfdctfst-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctfst-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctfst-sse2.asm
|
||||
echo jfdctint-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jfdctint-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jfdctint-sse2.asm
|
||||
echo jidctflt-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctflt-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctflt-sse2.asm
|
||||
echo jidctfst-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctfst-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctfst-sse2.asm
|
||||
echo jidctint-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctint-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctint-sse2.asm
|
||||
echo jidctred-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jidctred-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jidctred-sse2.asm
|
||||
echo jquantf-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquantf-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquantf-sse2.asm
|
||||
echo jquanti-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\win32\jquanti-sse2.obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ ../../../cnq3/code/libjpeg-turbo/simd/jquanti-sse2.asm </Command>
|
||||
</PreBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\jcapimin.c" />
|
||||
|
@ -231,7 +254,466 @@ echo jquanti-sse2.asm && nasm -o..\..\..\cnq3\build\nasm\libjpeg-turbo\w
|
|||
<ClCompile Include="..\..\code\libjpeg-turbo\jquant1.c" />
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\jquant2.c" />
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\jutils.c" />
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\simd\jsimd_i386.c" />
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\simd\jsimd_i386.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug|x64'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release|x64'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\simd\jsimd_x86_64.c">
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">true</ExcludedFromBuild>
|
||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='release|Win32'">true</ExcludedFromBuild>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jchuff-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jchuff-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-3dn.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-sse-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-sse.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-3dn.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-3dn.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-mmx.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-sse.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquantf-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquantf-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquanti-sse2-64.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|x64'">nasm -o../../../.bin/debug_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|x64'">../../../.bin/debug_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|x64'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|x64'">nasm -o../../../.bin/release_x64\%(Filename).obj -fwin64 -DWIN64 -D__x86_64__ -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|x64'">../../../.bin/release_x64/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|x64'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquanti-sse2.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jsimdcpu.asm">
|
||||
<FileType>Document</FileType>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">nasm -o../../../.bin/debug_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">../../../.bin/debug_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">%(Filename).asm</Message>
|
||||
<Command Condition="'$(Configuration)|$(Platform)'=='release|Win32'">nasm -o../../../.bin/release_x32\%(Filename).obj -fwin32 -DWIN32 -I..\..\..\cnq3\code\libjpeg-turbo\ -I..\..\..\cnq3\code\libjpeg-turbo\win\ -I..\..\..\cnq3\code\libjpeg-turbo\simd\ %(Identity)</Command>
|
||||
<Outputs Condition="'$(Configuration)|$(Platform)'=='release|Win32'">../../../.bin/release_x32/%(Filename).obj</Outputs>
|
||||
<Message Condition="'$(Configuration)|$(Platform)'=='release|Win32'">%(Filename).asm</Message>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
|
|
|
@ -54,5 +54,160 @@
|
|||
<ClCompile Include="..\..\code\libjpeg-turbo\simd\jsimd_i386.c">
|
||||
<Filter>simd</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\code\libjpeg-turbo\simd\jsimd_x86_64.c">
|
||||
<Filter>simd</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jccolor-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcgray-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jchuff-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jchuff-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jcsample-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdcolor-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdmerge-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jdsample-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-3dn.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-sse-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctflt-sse.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctfst-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jfdctint-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-3dn.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctflt-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctfst-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctint-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jidctred-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-3dn.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-mmx.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquant-sse.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquantf-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquantf-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquanti-sse2-64.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jquanti-sse2.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
<CustomBuild Include="..\..\code\libjpeg-turbo\simd\jsimdcpu.asm">
|
||||
<Filter>simd</Filter>
|
||||
</CustomBuild>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -5,10 +5,18 @@
|
|||
<Configuration>debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="debug|x64">
|
||||
<Configuration>debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|Win32">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="release|x64">
|
||||
<Configuration>release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{9C6AA017-8837-FB22-B150-E9CA9D7C30B1}</ProjectGuid>
|
||||
|
@ -23,6 +31,12 @@
|
|||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
|
@ -30,30 +44,57 @@
|
|||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<OutDir>..\..\..\.bin\debug\</OutDir>
|
||||
<OutDir>..\..\..\.bin\debug_x32\</OutDir>
|
||||
<IntDir>obj\x32\debug\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<OutDir>..\..\..\.bin\debug_x64\</OutDir>
|
||||
<IntDir>obj\x64\debug\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<OutDir>..\..\..\.bin\release\</OutDir>
|
||||
<OutDir>..\..\..\.bin\release_x32\</OutDir>
|
||||
<IntDir>obj\x32\release\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<OutDir>..\..\..\.bin\release_x64\</OutDir>
|
||||
<IntDir>obj\x64\release\renderer\</IntDir>
|
||||
<TargetName>renderer</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
<GenerateManifest>false</GenerateManifest>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -76,6 +117,28 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_DEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<AdditionalOptions>/Gm /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
|
@ -109,6 +172,38 @@
|
|||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='release|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level4</WarningLevel>
|
||||
<BasicRuntimeChecks>Default</BasicRuntimeChecks>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;WIN32;_WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\code\freetype\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||
<Optimization>MinSpace</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<StringPooling>true</StringPooling>
|
||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||
<ExceptionHandling>false</ExceptionHandling>
|
||||
<RuntimeTypeInfo>false</RuntimeTypeInfo>
|
||||
<TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
<AdditionalOptions>/GL /wd4267 %(AdditionalOptions)</AdditionalOptions>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<Lib>
|
||||
<AdditionalOptions> %(AdditionalOptions)</AdditionalOptions>
|
||||
</Lib>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\code\renderer\qgl.h" />
|
||||
<ClInclude Include="..\..\code\renderer\qgl_linked.h" />
|
||||
|
|
|
@ -164,10 +164,10 @@ typedef int aas_portalindex_t;
|
|||
//cluster
|
||||
typedef struct aas_cluster_s
|
||||
{
|
||||
size_t numareas; //number of areas in the cluster
|
||||
size_t numreachabilityareas; //number of areas with reachabilities
|
||||
size_t numportals; //number of cluster portals
|
||||
size_t firstportal; //first cluster portal in the index
|
||||
unsigned int numareas; //number of areas in the cluster
|
||||
unsigned int numreachabilityareas; //number of areas with reachabilities
|
||||
unsigned int numportals; //number of cluster portals
|
||||
unsigned int firstportal; //first cluster portal in the index
|
||||
} aas_cluster_t;
|
||||
|
||||
//============ 3d definition ============
|
||||
|
|
|
@ -225,7 +225,7 @@ typedef struct aas_s
|
|||
int faceindexsize;
|
||||
aas_faceindex_t *faceindex;
|
||||
//convex areas
|
||||
size_t numareas;
|
||||
unsigned int numareas;
|
||||
aas_area_t *areas;
|
||||
//convex area settings
|
||||
int numareasettings;
|
||||
|
@ -243,7 +243,7 @@ typedef struct aas_s
|
|||
int portalindexsize;
|
||||
aas_portalindex_t *portalindex;
|
||||
//clusters
|
||||
size_t numclusters;
|
||||
unsigned int numclusters;
|
||||
aas_cluster_t *clusters;
|
||||
//
|
||||
int numreachabilityareas;
|
||||
|
|
|
@ -133,7 +133,7 @@ typedef struct iteminfo_s
|
|||
int number; //number of the item info
|
||||
} iteminfo_t;
|
||||
|
||||
#define ITEMINFO_OFS(x) (int)&(((iteminfo_t *)0)->x)
|
||||
#define ITEMINFO_OFS(x) (intptr_t)&(((iteminfo_t *)0)->x)
|
||||
|
||||
fielddef_t iteminfo_fields[] =
|
||||
{
|
||||
|
|
|
@ -47,8 +47,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
//#define DEBUG_AI_WEAP
|
||||
|
||||
//structure field offsets
|
||||
#define WEAPON_OFS(x) (int)&(((weaponinfo_t *)0)->x)
|
||||
#define PROJECTILE_OFS(x) (int)&(((projectileinfo_t *)0)->x)
|
||||
#define WEAPON_OFS(x) (intptr_t)&(((weaponinfo_t *)0)->x)
|
||||
#define PROJECTILE_OFS(x) (intptr_t)&(((projectileinfo_t *)0)->x)
|
||||
|
||||
//weapon definition // bk001212 - static
|
||||
static fielddef_t weaponinfo_fields[] =
|
||||
|
|
|
@ -48,7 +48,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
typedef struct fielddef_s
|
||||
{
|
||||
char *name; //name of the field
|
||||
int offset; //offset in the structure
|
||||
intptr_t offset; //offset in the structure
|
||||
int type; //type of the field
|
||||
//type specific fields
|
||||
int maxarray; //maximum array size
|
||||
|
|
|
@ -562,9 +562,9 @@ void CL_InitCGame()
|
|||
Com_sprintf( cl.mapname, sizeof( cl.mapname ), "maps/%s.bsp", mapname );
|
||||
|
||||
// if sv_pure is set we only allow qvms to be loaded
|
||||
vmInterpret_t interpret = cl_connectedToPureServer ? VMI_COMPILED : (vmInterpret_t)Cvar_VariableIntegerValue("vm_cgame");
|
||||
const vmInterpret_t interpret = cl_connectedToPureServer ? VMI_COMPILED : (vmInterpret_t)Cvar_VariableIntegerValue( "vm_cgame" );
|
||||
|
||||
cgvm = VM_Create( "cgame", CL_CgameSystemCalls, interpret );
|
||||
cgvm = VM_Create( VM_CGAME, CL_CgameSystemCalls, interpret );
|
||||
if ( !cgvm ) {
|
||||
Com_Error( ERR_DROP, "VM_Create on cgame failed" );
|
||||
}
|
||||
|
@ -605,7 +605,6 @@ qbool CL_GameCommand()
|
|||
void CL_CGameRendering( stereoFrame_t stereo )
|
||||
{
|
||||
VM_Call( cgvm, CG_DRAW_ACTIVE_FRAME, cl.serverTime, stereo, clc.demoplaying );
|
||||
VM_Debug( 0 );
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1104,7 +1104,7 @@ void CL_InitUI()
|
|||
// if sv_pure is set we only allow qvms to be loaded
|
||||
vmInterpret_t interpret = cl_connectedToPureServer ? VMI_COMPILED : (vmInterpret_t)Cvar_VariableIntegerValue("vm_ui");
|
||||
|
||||
uivm = VM_Create( "ui", CL_UISystemCalls, interpret );
|
||||
uivm = VM_Create( VM_UI, CL_UISystemCalls, interpret );
|
||||
if ( !uivm )
|
||||
Com_Error( ERR_FATAL, "VM_Create on UI failed" );
|
||||
|
||||
|
|
|
@ -25,6 +25,14 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "qcommon.h"
|
||||
#include <setjmp.h>
|
||||
|
||||
#if (_MSC_VER >= 1400) // Visual C++ 2005 or later
|
||||
#define MSVC_CPUID 1
|
||||
#include <intrin.h>
|
||||
#elif (__GNUC__)
|
||||
#define GCC_CPUID 1
|
||||
#include <cpuid.h>
|
||||
#endif
|
||||
|
||||
#ifndef _WIN32
|
||||
#include <netinet/in.h>
|
||||
#include <sys/stat.h> // umask
|
||||
|
@ -219,14 +227,6 @@ void QDECL Com_Error( int code, const char *fmt, ... )
|
|||
static int lastErrorTime;
|
||||
static int errorCount;
|
||||
|
||||
#if defined(_WIN32) && defined(_DEBUG)
|
||||
if ( code != ERR_DISCONNECT && code != ERR_NEED_CD ) {
|
||||
if (!com_noErrorInterrupt->integer && IsDebuggerPresent()) {
|
||||
__debugbreak();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
// when we are running automated scripts, make sure we
|
||||
// know if anything failed
|
||||
if ( com_buildScript && com_buildScript->integer ) {
|
||||
|
@ -257,6 +257,14 @@ void QDECL Com_Error( int code, const char *fmt, ... )
|
|||
vsprintf( com_errorMessage, fmt, argptr );
|
||||
va_end( argptr );
|
||||
|
||||
#if defined(_WIN32) && defined(_DEBUG)
|
||||
if ( code != ERR_DISCONNECT && code != ERR_NEED_CD ) {
|
||||
if (!com_noErrorInterrupt->integer && IsDebuggerPresent()) {
|
||||
__debugbreak();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
if ( code != ERR_DISCONNECT && code != ERR_NEED_CD ) {
|
||||
Cvar_Set("com_errorMessage", com_errorMessage);
|
||||
}
|
||||
|
@ -906,7 +914,7 @@ void *Z_TagMalloc( int size, int tag ) {
|
|||
|
||||
zone->rover = base->next; // next allocation will start looking here
|
||||
zone->used += base->size; //
|
||||
|
||||
|
||||
base->id = ZONEID;
|
||||
|
||||
#ifdef ZONE_DEBUG
|
||||
|
@ -1354,13 +1362,18 @@ static void Com_InitHunkMemory()
|
|||
} else {
|
||||
s_hunkTotal = cv->integer * 1024 * 1024;
|
||||
}
|
||||
|
||||
s_hunkData = (byte*)calloc( s_hunkTotal + 31, 1 );
|
||||
#if defined( _MSC_VER ) && defined( _DEBUG ) && defined( idx64 )
|
||||
// try to allocate at the highest possible address range to help detect errors during development
|
||||
s_hunkData = (byte*)VirtualAlloc( NULL, ( s_hunkTotal + 4095 ) & ( ~4095 ), MEM_COMMIT | MEM_TOP_DOWN, PAGE_READWRITE );
|
||||
Cvar_Get( "sys_hunkBaseAddress", va( "%p", s_hunkData ), 0 );
|
||||
#else
|
||||
s_hunkData = (byte*)calloc( s_hunkTotal + 63, 1 );
|
||||
#endif
|
||||
if ( !s_hunkData ) {
|
||||
Com_Error( ERR_FATAL, "Hunk data failed to allocate %i megs", s_hunkTotal / (1024*1024) );
|
||||
}
|
||||
// cacheline align
|
||||
s_hunkData = (byte *) ( ( (intptr_t)s_hunkData + 31 ) & ~31 );
|
||||
s_hunkData = (byte *) ( ( (intptr_t)s_hunkData + 63 ) & ( ~63 ) );
|
||||
Hunk_Clear();
|
||||
|
||||
Cmd_AddCommand( "meminfo", Com_Meminfo_f );
|
||||
|
@ -1497,7 +1510,7 @@ void *Hunk_Alloc( int size, ha_pref preference )
|
|||
#endif
|
||||
|
||||
// round to cacheline
|
||||
size = (size+31)&~31;
|
||||
size = ( size + 63 ) & ( ~63 );
|
||||
|
||||
if ( hunk_low.temp + hunk_high.temp + size > s_hunkTotal ) {
|
||||
#ifdef HUNK_DEBUG
|
||||
|
@ -1546,8 +1559,7 @@ void* Hunk_AllocateTempMemory( int size )
|
|||
{
|
||||
// return a Z_Malloc'd block if the hunk has not been initialized
|
||||
// this allows the config and product id files ( journal files too ) to be loaded
|
||||
// by the file system without redundant routines in the file system utilizing different
|
||||
// memory systems
|
||||
// by the file system without redundant routines in the FS utilizing different memory systems
|
||||
if (!s_hunkData) {
|
||||
return Z_Malloc(size);
|
||||
}
|
||||
|
@ -1588,8 +1600,7 @@ void Hunk_FreeTempMemory( void* buf )
|
|||
{
|
||||
// free with Z_Free if the hunk has not been initialized
|
||||
// this allows the config and product id files ( journal files too ) to be loaded
|
||||
// by the file system without redunant routines in the file system utilizing different
|
||||
// memory systems
|
||||
// by the file system without redundant routines in the FS utilizing different memory systems
|
||||
if (!s_hunkData) {
|
||||
Z_Free(buf);
|
||||
return;
|
||||
|
@ -2000,6 +2011,101 @@ void Com_ReadCDKey( const char *filename ) {
|
|||
#endif
|
||||
|
||||
|
||||
// 0=eax 1=ebx 2=ecx 3=edx
|
||||
static qbool Com_CPUID( int function, int registers[4] ) {
|
||||
#if MSVC_CPUID
|
||||
__cpuid( registers, function );
|
||||
return qtrue;
|
||||
#elif GCC_CPUID
|
||||
if( __get_cpuid( (unsigned int)function, (unsigned int*)®isters[0], (unsigned int*)®isters[1],
|
||||
(unsigned int*)®isters[2], (unsigned int*)®isters[3] ) != 1 )
|
||||
return qfalse;
|
||||
return qtrue;
|
||||
#else
|
||||
return qfalse;
|
||||
#endif
|
||||
}
|
||||
|
||||
static const char* Com_ProcessorName() {
|
||||
static int regs[4];
|
||||
|
||||
if( !Com_CPUID( 0, regs) ) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
regs[0] = regs[1];
|
||||
regs[1] = regs[3];
|
||||
regs[3] = 0;
|
||||
|
||||
return (const char*)regs;
|
||||
}
|
||||
|
||||
typedef struct {
|
||||
const char* s;
|
||||
int reg;
|
||||
int bit;
|
||||
int flag;
|
||||
qbool noTest;
|
||||
} cpuFeatureBit_t;
|
||||
|
||||
#if idx64
|
||||
#define IS_X64 qtrue
|
||||
#define BASIC_CPU_FEATURES (CPU_MMX | CPU_SSE | CPU_SSE2)
|
||||
#else
|
||||
#define IS_X64 qfalse
|
||||
#define BASIC_CPU_FEATURES 0
|
||||
#endif
|
||||
|
||||
static const cpuFeatureBit_t cpu_featureBits[] = {
|
||||
{ " MMX", 3, 23, CPU_MMX, IS_X64 },
|
||||
{ " SSE", 3, 25, CPU_SSE, IS_X64 },
|
||||
{ " SSE2", 3, 26, CPU_SSE2, IS_X64 },
|
||||
// the following aren't used anywhere for now:
|
||||
// { " SSE3", 2, 0, CPU_SSE3, qfalse },
|
||||
// { " SSSE3", 2, 9, CPU_SSSE3, qfalse },
|
||||
// { " SSE4.1", 2, 19, CPU_SSE41, qfalse },
|
||||
// { " SSE4.2", 2, 20, CPU_SSE42, qfalse },
|
||||
// { " AVX", 2, 28, CPU_AVX, qfalse }
|
||||
// for AVX2 and later, you'd need to call cpuid with eax=7 and ecx=0 ("extended features")
|
||||
};
|
||||
|
||||
int cpu_features = BASIC_CPU_FEATURES;
|
||||
|
||||
static qbool Com_GetProcessorInfo()
|
||||
{
|
||||
Cvar_Get( "sys_cpustring", "unknown", 0 );
|
||||
|
||||
int regs[4];
|
||||
const char* name = Com_ProcessorName();
|
||||
if ( name == NULL || !Com_CPUID( 1, regs ) ) {
|
||||
cpu_features = BASIC_CPU_FEATURES;
|
||||
return qfalse;
|
||||
}
|
||||
|
||||
char s[256] = "";
|
||||
Q_strcat( s, sizeof(s), name );
|
||||
|
||||
int features = BASIC_CPU_FEATURES;
|
||||
for (int i = 0; i < ARRAY_LEN(cpu_featureBits); i++) {
|
||||
const cpuFeatureBit_t* f = cpu_featureBits + i;
|
||||
|
||||
if ( f->noTest || (regs[f->reg] & (1 << f->bit)) ) {
|
||||
Q_strcat( s, sizeof(s), f->s );
|
||||
features |= f->flag;
|
||||
}
|
||||
}
|
||||
|
||||
cpu_features = features;
|
||||
|
||||
Cvar_Set( "sys_cpustring", s );
|
||||
|
||||
return qtrue;
|
||||
}
|
||||
|
||||
#undef BASIC_CPU_FEATURES
|
||||
#undef IS_X64
|
||||
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning (disable: 4611) // setjmp + destructors = bad. which it is, but...
|
||||
#endif
|
||||
|
@ -2117,6 +2223,11 @@ void Com_Init( char *commandLine )
|
|||
const char* s = Q3_VERSION" "PLATFORM_STRING" "__DATE__;
|
||||
com_version = Cvar_Get( "version", s, CVAR_ROM | CVAR_SERVERINFO );
|
||||
|
||||
Cvar_Get( "sys_cpustring", "detect", 0 );
|
||||
if ( Com_GetProcessorInfo() ) {
|
||||
Com_Printf( "CPU: %s\n", Cvar_VariableString( "sys_cpustring" ) );
|
||||
}
|
||||
|
||||
Sys_Init();
|
||||
Netchan_Init( Com_Milliseconds() & 0xffff ); // pick a port value that should be nice and random
|
||||
VM_Init();
|
||||
|
@ -2494,6 +2605,51 @@ static void PrintCvarMatches( const char *s )
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
==================
|
||||
crc32 routines
|
||||
==================
|
||||
*/
|
||||
|
||||
static unsigned int crc32_table[256];
|
||||
static qboolean crc32_inited = qfalse;
|
||||
|
||||
void crc32_init( unsigned int *crc )
|
||||
{
|
||||
unsigned int c;
|
||||
int i, j;
|
||||
|
||||
if ( !crc32_inited )
|
||||
{
|
||||
for (i = 0; i < 256; i++)
|
||||
{
|
||||
c = i;
|
||||
for ( j = 0; j < 8; j++ )
|
||||
c = c & 1 ? (c >> 1) ^ 0xEDB88320UL : c >> 1;
|
||||
crc32_table[i] = c;
|
||||
}
|
||||
crc32_inited = qtrue;
|
||||
}
|
||||
|
||||
*crc = 0xFFFFFFFFUL;
|
||||
}
|
||||
|
||||
|
||||
void crc32_update( unsigned int *crc, unsigned char *buf, unsigned int len )
|
||||
{
|
||||
while ( len-- )
|
||||
{
|
||||
*crc = crc32_table[(*crc ^ *buf++) & 0xFF] ^ (*crc >> 8);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void crc32_final( unsigned int *crc )
|
||||
{
|
||||
*crc = *crc ^ 0xFFFFFFFFUL;
|
||||
}
|
||||
|
||||
|
||||
#if I_EVER_NAG_TIMBO_INTO_FIXING_THIS
|
||||
|
||||
|
||||
|
@ -2609,7 +2765,7 @@ static void Field_CompleteFilename( const char *dir,
|
|||
}
|
||||
|
||||
Com_Printf( "]%s\n", completionField->buffer );
|
||||
|
||||
|
||||
FS_FilenameCompletion( dir, ext, stripExt, PrintMatches );
|
||||
}
|
||||
|
||||
|
|
|
@ -611,7 +611,7 @@ typedef enum {
|
|||
// The game should call G_GET_ENTITY_TOKEN to parse through all the
|
||||
// entity configuration text and spawn gentities.
|
||||
|
||||
GAME_SHUTDOWN, // (void);
|
||||
GAME_SHUTDOWN, // (int restart);
|
||||
|
||||
GAME_CLIENT_CONNECT, // ( int clientNum, qboolean firstTime, qboolean isBot );
|
||||
// return NULL if the client is allowed to connect, otherwise return
|
||||
|
|
|
@ -581,8 +581,8 @@ void MSG_ReadDeltaUsercmdKey( msg_t* msg, int key, const usercmd_t* from, usercm
|
|||
|
||||
typedef struct {
|
||||
const char* name;
|
||||
int offset;
|
||||
int bits; // 0 = float
|
||||
size_t offset;
|
||||
int bits; // 0 = float
|
||||
} netField_t;
|
||||
|
||||
|
||||
|
@ -595,7 +595,7 @@ entityState_t communication
|
|||
*/
|
||||
|
||||
// using the stringizing operator to save typing...
|
||||
#define ESF(x) #x,(int)&((entityState_t*)0)->x
|
||||
#define ESF(x) #x,(size_t)&((entityState_t*)0)->x
|
||||
|
||||
static const netField_t entityStateFields[] =
|
||||
{
|
||||
|
@ -900,7 +900,7 @@ plyer_state_t communication
|
|||
*/
|
||||
|
||||
// using the stringizing operator to save typing...
|
||||
#define PSF(x) #x,(int)&((playerState_t*)0)->x
|
||||
#define PSF(x) #x,(size_t)&((playerState_t*)0)->x
|
||||
|
||||
static const netField_t playerStateFields[] =
|
||||
{
|
||||
|
|
|
@ -28,15 +28,22 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#define id386 0
|
||||
#define idppc 0
|
||||
#define idx64 0
|
||||
|
||||
#else
|
||||
|
||||
#if (defined _M_IX86 || defined __i386__) && !defined(C_ONLY)
|
||||
#if (defined _M_IX86 || defined __i386__ || defined __i386) && !defined(C_ONLY)
|
||||
#define id386 1
|
||||
#else
|
||||
#define id386 0
|
||||
#endif
|
||||
|
||||
#if (defined _M_AMD64 || defined _M_X64 || defined __amd64__ || defined __amd64 || defined __x86_64__ || defined __x86_64) && !defined(C_ONLY)
|
||||
#define idx64 1
|
||||
#else
|
||||
#define idx64 0
|
||||
#endif
|
||||
|
||||
#if (defined(powerc) || defined(powerpc) || defined(ppc) || \
|
||||
defined(__ppc) || defined(__ppc__)) && !defined(C_ONLY)
|
||||
#define idppc 1
|
||||
|
@ -67,8 +74,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#define ID_INLINE __inline
|
||||
#define PATH_SEP '\\'
|
||||
|
||||
#if defined( _M_IX86 ) || defined( __i386__ )
|
||||
#if defined( _M_IX86 ) || defined( __i386__ ) || defined( __i386 )
|
||||
#define ARCH_STRING "x86"
|
||||
#elif defined( _M_AMD64 ) || defined( _M_X64 ) || defined( __amd64__ ) || defined( __amd64 ) || defined( __x86_64__ ) || defined( __x86_64 )
|
||||
#define ARCH_STRING "x64"
|
||||
#elif defined _M_ALPHA
|
||||
#define ARCH_STRING "AXP"
|
||||
#endif
|
||||
|
|
|
@ -173,6 +173,7 @@ typedef int clipHandle_t;
|
|||
#define ALIGN(x)
|
||||
#endif
|
||||
|
||||
#define ARRAY_LEN(x) (sizeof(x) / sizeof(*(x)))
|
||||
|
||||
// angle indexes
|
||||
#define PITCH 0 // up / down
|
||||
|
@ -577,6 +578,10 @@ int Q_PrintStrlen( const char *string );
|
|||
// removes color sequences from string
|
||||
char *Q_CleanStr( char *string );
|
||||
|
||||
typedef intptr_t ( *syscall_t )( intptr_t *parms );
|
||||
typedef intptr_t ( QDECL *dllSyscall_t )( intptr_t callNum, ... );
|
||||
typedef void ( QDECL *dllEntry_t )( dllSyscall_t syscallptr );
|
||||
|
||||
|
||||
//
|
||||
// key / value info strings
|
||||
|
|
|
@ -249,6 +249,14 @@ VIRTUAL MACHINE
|
|||
==============================================================
|
||||
*/
|
||||
|
||||
typedef enum {
|
||||
CPU_MMX = (1 << 0),
|
||||
CPU_SSE = (1 << 1),
|
||||
CPU_SSE2 = (1 << 2)
|
||||
} cpuFeatureFlags_t;
|
||||
|
||||
extern int cpu_features;
|
||||
|
||||
typedef struct vm_s vm_t;
|
||||
|
||||
typedef enum {
|
||||
|
@ -275,12 +283,21 @@ typedef enum {
|
|||
TRAP_TESTPRINTFLOAT
|
||||
} sharedTraps_t;
|
||||
|
||||
typedef enum {
|
||||
VM_BAD = -1,
|
||||
VM_GAME = 0,
|
||||
VM_CGAME,
|
||||
VM_UI,
|
||||
VM_COUNT
|
||||
} vmIndex_t;
|
||||
|
||||
void VM_Init();
|
||||
vm_t *VM_Create( const char *module, intptr_t (*systemCalls)(intptr_t *), vmInterpret_t interpret );
|
||||
// module should be bare: "cgame", not "cgame.dll" or "vm/cgame.qvm"
|
||||
vm_t *VM_Create( vmIndex_t index, syscall_t systemCalls, vmInterpret_t interpret );
|
||||
|
||||
void VM_Free( vm_t *vm );
|
||||
void VM_Clear(void);
|
||||
void VM_Forced_Unload_Start(void);
|
||||
void VM_Forced_Unload_Done(void);
|
||||
vm_t *VM_Restart( vm_t *vm );
|
||||
|
||||
intptr_t QDECL VM_Call( vm_t *vm, int callNum, ... );
|
||||
|
@ -461,6 +478,10 @@ extern int cvar_modifiedFlags;
|
|||
// etc, variables have been modified since the last check. The bit
|
||||
// can then be cleared to allow another change detection.
|
||||
|
||||
void crc32_init( unsigned int *crc );
|
||||
void crc32_update( unsigned int *crc, unsigned char *buf, unsigned int len );
|
||||
void crc32_final( unsigned int *crc );
|
||||
|
||||
/*
|
||||
==============================================================
|
||||
|
||||
|
@ -650,11 +671,6 @@ MISC
|
|||
// https://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=470
|
||||
extern char cl_cdkey[34];
|
||||
|
||||
// returned by Sys_GetProcessorId
|
||||
#define CPUID_GENERIC 0 // anything acceptable
|
||||
#define CPUID_AXP 0x10
|
||||
#define CPUID_UNSUPPORTED 0x20
|
||||
|
||||
// TTimo
|
||||
// centralized and cleaned, that's the max string you can send to a Com_Printf / Com_DPrintf (above gets truncated)
|
||||
#define MAXPRINTMSG 4096
|
||||
|
@ -902,8 +918,7 @@ void Sys_Init();
|
|||
void Sys_Quit();
|
||||
|
||||
// general development dll loading for virtual machine testing
|
||||
void* QDECL Sys_LoadDll( const char* name,
|
||||
intptr_t (QDECL **entryPoint)(int, ...), intptr_t (QDECL *systemcalls)(intptr_t, ...) );
|
||||
void* QDECL Sys_LoadDll( const char* name, dllSyscall_t *entryPoint, dllSyscall_t systemcalls );
|
||||
void Sys_UnloadDll( void* dllHandle );
|
||||
|
||||
void QDECL Sys_Error( const char *error, ...);
|
||||
|
@ -918,8 +933,6 @@ int Sys_Milliseconds();
|
|||
// the system console is shown when a dedicated server is running
|
||||
void Sys_DisplaySystemConsole( qbool show );
|
||||
|
||||
int Sys_GetProcessorId();
|
||||
|
||||
void Sys_ShowConsole( int level, qbool quitOnClose );
|
||||
void Sys_SetErrorText( const char *text );
|
||||
|
||||
|
@ -944,7 +957,6 @@ void Sys_BeginProfiling( void );
|
|||
void Sys_EndProfiling( void );
|
||||
|
||||
qbool Sys_LowPhysicalMemory( void );
|
||||
unsigned int Sys_ProcessorCount( void );
|
||||
|
||||
|
||||
/* This is based on the Adaptive Huffman algorithm described in Sayood's Data
|
||||
|
|
|
@ -266,7 +266,7 @@ typedef enum {
|
|||
// void UI_Shutdown( void );
|
||||
|
||||
UI_KEY_EVENT,
|
||||
// void UI_KeyEvent( int key );
|
||||
// void UI_KeyEvent( int key, int down );
|
||||
|
||||
UI_MOUSE_EVENT,
|
||||
// void UI_MouseEvent( int dx, int dy );
|
||||
|
|
1112
code/qcommon/vm.cpp
1112
code/qcommon/vm.cpp
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -22,6 +22,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "q_shared.h"
|
||||
#include "qcommon.h"
|
||||
|
||||
#define MAX_OPSTACK_SIZE 512
|
||||
#define PROC_OPSTACK_SIZE 30
|
||||
|
||||
#define VMMAIN_CALL_ARGS 13
|
||||
|
||||
// hardcoded in q3asm and reserved at end of bss
|
||||
#define PROGRAM_STACK_SIZE 0x10000
|
||||
|
||||
typedef enum {
|
||||
OP_UNDEF,
|
||||
|
@ -107,9 +114,33 @@ typedef enum {
|
|||
OP_MULF,
|
||||
|
||||
OP_CVIF,
|
||||
OP_CVFI
|
||||
OP_CVFI,
|
||||
|
||||
OP_MAX
|
||||
} opcode_t;
|
||||
|
||||
// macro opcode sequences
|
||||
typedef enum {
|
||||
MOP_UNDEF = OP_MAX,
|
||||
MOP_IGNORE4,
|
||||
MOP_ADD4,
|
||||
MOP_SUB4,
|
||||
MOP_BAND4,
|
||||
MOP_BOR4,
|
||||
MOP_CALCF4,
|
||||
} macro_op_t;
|
||||
|
||||
typedef struct {
|
||||
int value;
|
||||
byte op;
|
||||
byte opStack;
|
||||
byte jused; // boolean
|
||||
byte swtch; // boolean
|
||||
} instruction_t;
|
||||
|
||||
extern const char *opname[OP_MAX];
|
||||
|
||||
typedef int vmptr_t;
|
||||
|
||||
typedef struct vmSymbol_s {
|
||||
struct vmSymbol_s *next;
|
||||
|
@ -118,52 +149,62 @@ typedef struct vmSymbol_s {
|
|||
char symName[1]; // variable sized
|
||||
} vmSymbol_t;
|
||||
|
||||
#define VM_OFFSET_PROGRAM_STACK 0
|
||||
#define VM_OFFSET_SYSTEM_CALL 4
|
||||
typedef union vmFunc_u {
|
||||
byte *ptr;
|
||||
void (*func)(void);
|
||||
} vmFunc_t;
|
||||
|
||||
struct vm_s {
|
||||
// DO NOT MOVE OR CHANGE THESE WITHOUT CHANGING THE VM_OFFSET_* DEFINES
|
||||
// USED BY THE ASM CODE
|
||||
int programStack; // the vm may be recursively entered
|
||||
intptr_t (*systemCall)( intptr_t *parms );
|
||||
syscall_t systemCall;
|
||||
byte *dataBase;
|
||||
int *opStack; // pointer to local function stack
|
||||
|
||||
int instructionCount;
|
||||
intptr_t *instructionPointers;
|
||||
|
||||
//------------------------------------
|
||||
|
||||
char name[MAX_QPATH];
|
||||
const char *name;
|
||||
|
||||
// for dynamic linked modules
|
||||
void *dllHandle;
|
||||
intptr_t (QDECL *entryPoint)( int callNum, ... );
|
||||
void (*destroy)(vm_t* self);
|
||||
dllSyscall_t entryPoint;
|
||||
void (*destroy)(vm_t* self);
|
||||
|
||||
qbool compiled;
|
||||
byte *codeBase;
|
||||
// for interpreted modules
|
||||
qboolean currentlyInterpreting;
|
||||
|
||||
qboolean compiled;
|
||||
|
||||
vmFunc_t codeBase;
|
||||
int codeLength;
|
||||
|
||||
int *instructionPointers;
|
||||
int instructionPointersLength;
|
||||
|
||||
byte *dataBase;
|
||||
int dataMask;
|
||||
int dataLength; // exact data segment length
|
||||
|
||||
int stackBottom; // if programStack < stackBottom, error
|
||||
int *opStackTop;
|
||||
|
||||
int numSymbols;
|
||||
vmSymbol_t *symbols;
|
||||
|
||||
int stackBottom; // if programStack < stackBottom, error
|
||||
#if defined(NO_VM_COMPILED)
|
||||
int callLevel; // for debug indenting
|
||||
int callLevel; // counts recursive VM_Call
|
||||
int breakFunction; // increment breakCount on function entry to this
|
||||
int breakCount;
|
||||
#endif
|
||||
|
||||
byte *jumpTableTargets;
|
||||
int numJumpTableTargets;
|
||||
|
||||
uint32_t crc32sum;
|
||||
vmIndex_t index;
|
||||
};
|
||||
|
||||
extern vm_t *currentVM;
|
||||
|
||||
#define VM_MAGIC 0x12721444
|
||||
#define VM_MAGIC_VER2 0x12721445
|
||||
|
||||
typedef struct {
|
||||
int vmMagic;
|
||||
|
||||
|
@ -176,26 +217,19 @@ typedef struct {
|
|||
int dataLength;
|
||||
int litLength; // ( dataLength - litLength ) should be byteswapped on load
|
||||
int bssLength; // zero filled memory appended to datalength
|
||||
|
||||
//!!! below here is VM_MAGIC_VER2 !!!
|
||||
int jtrgLength; // number of jump table targets
|
||||
} vmHeader_t;
|
||||
|
||||
qboolean VM_Compile( vm_t *vm, vmHeader_t *header );
|
||||
int VM_CallCompiled( vm_t *vm, int *args );
|
||||
|
||||
extern vm_t *currentVM;
|
||||
extern int vm_debugLevel;
|
||||
qboolean VM_PrepareInterpreter2( vm_t *vm, vmHeader_t *header );
|
||||
int VM_CallInterpreted2( vm_t *vm, int *args );
|
||||
|
||||
void VM_Compile( vm_t* vm, const vmHeader_t* header );
|
||||
int VM_CallCompiled( vm_t* vm, int* args );
|
||||
|
||||
#if defined(NO_VM_COMPILED)
|
||||
void VM_PrepareInterpreter( vm_t* vm, const vmHeader_t* header );
|
||||
int VM_CallInterpreted( vm_t *vm, int *args );
|
||||
#endif
|
||||
|
||||
const char* VM_ValueToSymbol( const vm_t* vm, int value );
|
||||
const vmSymbol_t* VM_ValueToFunctionSymbol( const vm_t* vm, int value );
|
||||
void VM_LogSyscalls( int *args );
|
||||
const char *VM_LoadInstructions( const vmHeader_t *header, instruction_t *buf );
|
||||
const char *VM_CheckInstructions( instruction_t *buf, int instructionCount,
|
||||
const byte *jumpTableTargets,
|
||||
int numJumpTableTargets,
|
||||
int dataLength );
|
||||
|
||||
intptr_t VM_ArgPtr( intptr_t intValue );
|
||||
intptr_t VM_ExplicitArgPtr( const vm_t* vm, intptr_t intValue );
|
||||
|
@ -211,3 +245,15 @@ static ID_INLINE float _vmf(intptr_t x)
|
|||
}
|
||||
#define VMF(x) _vmf(args[x])
|
||||
|
||||
#define VM_OF_JUMP (1<<0)
|
||||
|
||||
typedef struct opcode_info_s
|
||||
{
|
||||
int size;
|
||||
int stack;
|
||||
int nargs;
|
||||
int flags;
|
||||
} opcode_info_t ;
|
||||
|
||||
extern opcode_info_t ops[ OP_MAX ];
|
||||
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
#include "vm_local.h"
|
||||
|
||||
int VM_CallCompiled( vm_t *vm, int *args ) {
|
||||
exit(99);
|
||||
Com_Error(ERR_FATAL, "VM compiler N/A");
|
||||
return 0;
|
||||
}
|
||||
|
||||
void VM_Compile( vm_t *vm, vmHeader_t *header ) {
|
||||
exit(99);
|
||||
void VM_Compile( vm_t *vm, const vmHeader_t *header ) {
|
||||
Com_Error(ERR_FATAL, "VM compiler N/A");
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -154,7 +154,7 @@ Used to resample images in a more general than quartering fashion.
|
|||
This will only be filtered properly if the resampled size
|
||||
is greater than half the original size.
|
||||
|
||||
If a larger shrinking is needed, use the mipmap function
|
||||
If a larger shrinking is needed, use the mipmap function
|
||||
before or after.
|
||||
================
|
||||
*/
|
||||
|
@ -262,7 +262,7 @@ static void R_MipMap( unsigned* in, int inWidth, int inHeight )
|
|||
for ( j = 0 ; j < outWidth ; j++ ) {
|
||||
outpix = (byte *) ( temp + i * outWidth + j );
|
||||
for ( k = 0 ; k < 4 ; k++ ) {
|
||||
total =
|
||||
total =
|
||||
1 * ((byte *)&in[ ((i*2-1)&inHeightMask)*inWidth + ((j*2-1)&inWidthMask) ])[k] +
|
||||
2 * ((byte *)&in[ ((i*2-1)&inHeightMask)*inWidth + ((j*2)&inWidthMask) ])[k] +
|
||||
2 * ((byte *)&in[ ((i*2-1)&inHeightMask)*inWidth + ((j*2+1)&inWidthMask) ])[k] +
|
||||
|
@ -1104,7 +1104,7 @@ qhandle_t RE_RegisterSkin( const char* name )
|
|||
// lowercase the surface name so skin compares are faster
|
||||
Q_strlwr( surfName );
|
||||
|
||||
if (*p == ',')
|
||||
if (*p == ',')
|
||||
++p;
|
||||
|
||||
if ( strstr( token, "tag_" ) )
|
||||
|
|
|
@ -633,7 +633,7 @@ void R_Init()
|
|||
Com_Memset( &backEnd, 0, sizeof( backEnd ) );
|
||||
Com_Memset( &tess, 0, sizeof( tess ) );
|
||||
|
||||
if ((int)tess.xyz & 15)
|
||||
if ((intptr_t)tess.xyz & 15)
|
||||
Com_Printf( "WARNING: tess.xyz not 16 byte aligned\n" );
|
||||
|
||||
// init function tables
|
||||
|
|
|
@ -844,8 +844,10 @@ void SV_InitGameProgs()
|
|||
cvar_t* var = Cvar_Get( "bot_enable", "1", CVAR_LATCH );
|
||||
bot_enable = (var && var->integer);
|
||||
|
||||
const vmInterpret_t interpret = (vmInterpret_t)Cvar_VariableIntegerValue( "vm_game" );
|
||||
|
||||
// load the dll or bytecode
|
||||
gvm = VM_Create( "qagame", SV_GameSystemCalls, (vmInterpret_t)Cvar_VariableIntegerValue( "vm_game" ) );
|
||||
gvm = VM_Create( VM_GAME, SV_GameSystemCalls, interpret );
|
||||
|
||||
SV_InitGameVM( qfalse );
|
||||
}
|
||||
|
|
|
@ -549,9 +549,7 @@ static void* try_dlopen( const char* base, const char* gamedir, const char* file
|
|||
// in release builds, the load procedure matches the VFS logic (fs_homepath, then fs_basepath)
|
||||
// in debug builds, the current working directory is tried first
|
||||
|
||||
void* Sys_LoadDll( const char* name,
|
||||
intptr_t (**entryPoint)(intptr_t, ...),
|
||||
intptr_t (*systemcalls)(intptr_t, ...) )
|
||||
void* QDECL Sys_LoadDll( const char* name, dllSyscall_t *entryPoint, dllSyscall_t systemcalls )
|
||||
{
|
||||
char filename[MAX_QPATH];
|
||||
Com_sprintf( filename, sizeof( filename ), "%s" ARCH_STRING DLL_EXT, name );
|
||||
|
@ -575,14 +573,12 @@ void* Sys_LoadDll( const char* name,
|
|||
if ( !libHandle )
|
||||
return NULL;
|
||||
|
||||
void (QDECL *dllEntry)( int (QDECL *syscallptr)(int, ...) );
|
||||
|
||||
#if USE_SDL_VIDEO
|
||||
dllEntry = (void (QDECL *)( int (QDECL *)( int, ... ) ) )SDL_LoadFunction( libHandle, "dllEntry" );
|
||||
*entryPoint = (int (QDECL *)(intptr_t,...))SDL_LoadFunction( libHandle, "vmMain" );
|
||||
dllEntry_t dllEntry = (dllEntry_t)SDL_LoadFunction( libHandle, "dllEntry" );
|
||||
*entryPoint = (dllSyscall_t)SDL_LoadFunction( libHandle, "vmMain" );
|
||||
#else
|
||||
dllEntry = (void (QDECL *)( int (QDECL *)( int, ... ) ) )dlsym( libHandle, "dllEntry" );
|
||||
*entryPoint = (int (QDECL *)(intptr_t,...))dlsym( libHandle, "vmMain" );
|
||||
dllEntry_t dllEntry = (dllEntry_t)dlsym( libHandle, "dllEntry" );
|
||||
*entryPoint = (dllSyscall_t)dlsym( libHandle, "vmMain" );
|
||||
#endif
|
||||
|
||||
if ( !*entryPoint || !dllEntry ) {
|
||||
|
|
|
@ -345,11 +345,6 @@ const char* Sys_DefaultHomePath()
|
|||
|
||||
//============================================
|
||||
|
||||
int Sys_GetProcessorId()
|
||||
{
|
||||
return CPUID_GENERIC;
|
||||
}
|
||||
|
||||
void Sys_ShowConsole( int visLevel, qboolean quitOnClose )
|
||||
{
|
||||
}
|
||||
|
@ -363,13 +358,3 @@ const char* Sys_GetCurrentUser()
|
|||
|
||||
return p->pw_name;
|
||||
}
|
||||
|
||||
|
||||
#if defined(__linux__) || defined(__FreeBSD__)
|
||||
// TTimo
|
||||
// sysconf() in libc, POSIX.1 compliant
|
||||
unsigned int Sys_ProcessorCount(void)
|
||||
{
|
||||
return sysconf(_SC_NPROCESSORS_ONLN);
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -41,7 +41,7 @@ void IN_Shutdown();
|
|||
|
||||
void SNDDMA_Activate();
|
||||
|
||||
LONG WINAPI MainWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
|
||||
LRESULT CALLBACK MainWndProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
|
||||
|
||||
typedef struct
|
||||
{
|
||||
|
|
|
@ -343,8 +343,7 @@ void Sys_UnloadDll( void *dllHandle )
|
|||
|
||||
// used to load a development dll instead of a virtual machine
|
||||
|
||||
void* QDECL Sys_LoadDll( const char* name,
|
||||
intptr_t (QDECL **entryPoint)(intptr_t, ...), intptr_t (QDECL *systemcalls)(intptr_t, ...) )
|
||||
void* QDECL Sys_LoadDll( const char* name, dllSyscall_t *entryPoint, dllSyscall_t systemcalls )
|
||||
{
|
||||
char filename[MAX_QPATH];
|
||||
Com_sprintf( filename, sizeof( filename ), "%sx86.dll", name );
|
||||
|
@ -381,9 +380,8 @@ void* QDECL Sys_LoadDll( const char* name,
|
|||
if ( !libHandle )
|
||||
return NULL;
|
||||
|
||||
void (QDECL *dllEntry)( intptr_t (QDECL *syscallptr)(intptr_t, ...) );
|
||||
dllEntry = ( void (QDECL *)(intptr_t (QDECL *)( intptr_t, ... ) ) )GetProcAddress( libHandle, "dllEntry" );
|
||||
*entryPoint = (intptr_t (QDECL *)(intptr_t,...))GetProcAddress( libHandle, "vmMain" );
|
||||
dllEntry_t dllEntry = ( dllEntry_t ) GetProcAddress( libHandle, "dllEntry" );
|
||||
*entryPoint = ( dllSyscall_t ) GetProcAddress( libHandle, "vmMain" );
|
||||
if ( !*entryPoint || !dllEntry ) {
|
||||
FreeLibrary( libHandle );
|
||||
return NULL;
|
||||
|
@ -537,30 +535,6 @@ void Sys_Init()
|
|||
// save out a couple things in rom cvars for the renderer to access
|
||||
Cvar_Get( "win_hinstance", va("%i", (int)g_wv.hInstance), CVAR_ROM );
|
||||
|
||||
//
|
||||
// figure out our CPU
|
||||
//
|
||||
Cvar_Get( "sys_cpustring", "detect", 0 );
|
||||
if ( !Q_stricmp( Cvar_VariableString( "sys_cpustring"), "detect" ) )
|
||||
{
|
||||
int cpuid = Sys_GetProcessorId();
|
||||
switch ( cpuid )
|
||||
{
|
||||
case CPUID_GENERIC:
|
||||
break;
|
||||
case CPUID_AXP:
|
||||
Cvar_Set( "sys_cpustring", "Alpha AXP" );
|
||||
break;
|
||||
case CPUID_UNSUPPORTED:
|
||||
Com_Error( ERR_FATAL, "Unsupported cpu type %s\n", Cvar_VariableString( "sys_cpustring" ) );
|
||||
break;
|
||||
default:
|
||||
Com_Error( ERR_FATAL, "Unknown cpu type %d\n", cpuid );
|
||||
break;
|
||||
}
|
||||
}
|
||||
Com_Printf( "CPU: %s\n", Cvar_VariableString( "sys_cpustring" ) );
|
||||
|
||||
//Cvar_Set( "username", Sys_GetCurrentUser() );
|
||||
}
|
||||
|
||||
|
|
|
@ -23,7 +23,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
#include "../qcommon/q_shared.h"
|
||||
#include "../qcommon/qcommon.h"
|
||||
#include "win_local.h"
|
||||
#include <intrin.h>
|
||||
|
||||
|
||||
int Sys_Milliseconds()
|
||||
|
@ -37,56 +36,6 @@ int Sys_Milliseconds()
|
|||
}
|
||||
|
||||
|
||||
static const char* CPU_Name()
|
||||
{
|
||||
static int regs[4];
|
||||
|
||||
__cpuid( regs, 0 );
|
||||
regs[0] = regs[1];
|
||||
regs[1] = regs[3];
|
||||
regs[3] = 0;
|
||||
|
||||
return (const char*)regs;
|
||||
}
|
||||
|
||||
|
||||
struct CPU_FeatureBit { const char* s; int reg, bit; } CPU_FeatureBits[] =
|
||||
{
|
||||
#if id386 // x64 always has those anyway
|
||||
{ " MMX", 3, 23 },
|
||||
{ " SSE", 3, 25 },
|
||||
{ " SSE2", 3, 26 },
|
||||
#endif
|
||||
{ " SSE3", 2, 0 },
|
||||
{ " SSSE3", 2, 9 },
|
||||
{ " SSE4.1", 2, 19 },
|
||||
{ " SSE4.2", 2, 20 },
|
||||
{ " AVX", 2, 28 }
|
||||
// for AVX2 and later, you'd need to call cpuid with eax=7 and ecx=0 ("extended features")
|
||||
};
|
||||
static const int CPU_FeatureBitCount = sizeof(CPU_FeatureBits) / sizeof(CPU_FeatureBits[0]);
|
||||
|
||||
|
||||
int Sys_GetProcessorId()
|
||||
{
|
||||
char s[256] = "";
|
||||
Q_strcat( s, sizeof(s), CPU_Name() );
|
||||
|
||||
int regs[4];
|
||||
__cpuid( regs, 1 );
|
||||
|
||||
for (int i = 0; i < CPU_FeatureBitCount; ++i) {
|
||||
if (regs[CPU_FeatureBits[i].reg] & (1 << regs[CPU_FeatureBits[i].bit])) {
|
||||
Q_strcat( s, sizeof(s), CPU_FeatureBits[i].s );
|
||||
}
|
||||
}
|
||||
|
||||
Cvar_Set( "sys_cpustring", s );
|
||||
|
||||
return CPUID_GENERIC;
|
||||
}
|
||||
|
||||
|
||||
const char* Sys_GetCurrentUser()
|
||||
{
|
||||
return "player";
|
||||
|
|
|
@ -416,7 +416,7 @@ void Sys_CreateConsole( void )
|
|||
g_wv.hInstance, NULL );
|
||||
SendMessage( s_wcd.hwndBuffer, WM_SETFONT, ( WPARAM ) s_wcd.hfBufferFont, 0 );
|
||||
|
||||
s_wcd.SysInputLineWndProc = ( WNDPROC ) SetWindowLong( s_wcd.hwndInputLine, GWL_WNDPROC, ( long ) InputLineWndProc );
|
||||
s_wcd.SysInputLineWndProc = ( WNDPROC ) SetWindowLongPtr( s_wcd.hwndInputLine, GWLP_WNDPROC, ( LONG_PTR ) InputLineWndProc );
|
||||
SendMessage( s_wcd.hwndInputLine, WM_SETFONT, ( WPARAM ) s_wcd.hfBufferFont, 0 );
|
||||
|
||||
ShowWindow( s_wcd.hWnd, SW_SHOWDEFAULT);
|
||||
|
|
|
@ -201,7 +201,7 @@ main window procedure
|
|||
====================
|
||||
*/
|
||||
|
||||
LONG WINAPI MainWndProc (
|
||||
LRESULT CALLBACK MainWndProc (
|
||||
HWND hWnd,
|
||||
UINT uMsg,
|
||||
WPARAM wParam,
|
||||
|
|
Loading…
Reference in a new issue