mirror of
https://github.com/wren-lang/wren.git
synced 2026-01-12 06:38:45 +01:00
92
projects/make.bsd/Makefile
Normal file
92
projects/make.bsd/Makefile
Normal file
@ -0,0 +1,92 @@
|
||||
# Alternative GNU Make workspace makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
wren_config = release_64bit
|
||||
wren_shared_config = release_64bit
|
||||
wren_test_config = release_64bit
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
wren_config = release_32bit
|
||||
wren_shared_config = release_32bit
|
||||
wren_test_config = release_32bit
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
wren_config = release_64bit-no-nan-tagging
|
||||
wren_shared_config = release_64bit-no-nan-tagging
|
||||
wren_test_config = release_64bit-no-nan-tagging
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
wren_config = debug_64bit
|
||||
wren_shared_config = debug_64bit
|
||||
wren_test_config = debug_64bit
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
wren_config = debug_32bit
|
||||
wren_shared_config = debug_32bit
|
||||
wren_test_config = debug_32bit
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
wren_config = debug_64bit-no-nan-tagging
|
||||
wren_shared_config = debug_64bit-no-nan-tagging
|
||||
wren_test_config = debug_64bit-no-nan-tagging
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
PROJECTS := wren wren_shared wren_test
|
||||
|
||||
.PHONY: all clean help $(PROJECTS)
|
||||
|
||||
all: $(PROJECTS)
|
||||
|
||||
wren:
|
||||
ifneq (,$(wren_config))
|
||||
@echo "==== Building wren ($(wren_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren.make config=$(wren_config)
|
||||
endif
|
||||
|
||||
wren_shared:
|
||||
ifneq (,$(wren_shared_config))
|
||||
@echo "==== Building wren_shared ($(wren_shared_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make config=$(wren_shared_config)
|
||||
endif
|
||||
|
||||
wren_test: wren
|
||||
ifneq (,$(wren_test_config))
|
||||
@echo "==== Building wren_test ($(wren_test_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make config=$(wren_test_config)
|
||||
endif
|
||||
|
||||
clean:
|
||||
@${MAKE} --no-print-directory -C . -f wren.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make clean
|
||||
|
||||
help:
|
||||
@echo "Usage: make [config=name] [target]"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " release_64bit"
|
||||
@echo " release_32bit"
|
||||
@echo " release_64bit-no-nan-tagging"
|
||||
@echo " debug_64bit"
|
||||
@echo " debug_32bit"
|
||||
@echo " debug_64bit-no-nan-tagging"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " all (default)"
|
||||
@echo " clean"
|
||||
@echo " wren"
|
||||
@echo " wren_shared"
|
||||
@echo " wren_test"
|
||||
@echo ""
|
||||
@echo "For more information, see https://github.com/premake/premake-core/wiki"
|
||||
204
projects/make.bsd/wren.make
Normal file
204
projects/make.bsd/wren.make
Normal file
@ -0,0 +1,204 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += -lm
|
||||
LDDEPS +=
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/32bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/32bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
204
projects/make.bsd/wren_shared.make
Normal file
204
projects/make.bsd/wren_shared.make
Normal file
@ -0,0 +1,204 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += -lm
|
||||
LDDEPS +=
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/64bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -shared -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/32bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -shared -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_shared
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -shared -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/64bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -shared
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/32bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -shared
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_shared
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -shared
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_shared
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_shared
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
250
projects/make.bsd/wren_test.make
Normal file
250
projects/make.bsd/wren_test.make
Normal file
@ -0,0 +1,250 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/32bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_test
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/32bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_test
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/api_tests.o
|
||||
OBJECTS += $(OBJDIR)/benchmark.o
|
||||
OBJECTS += $(OBJDIR)/call.o
|
||||
OBJECTS += $(OBJDIR)/call_calls_foreign.o
|
||||
OBJECTS += $(OBJDIR)/call_wren_call_root.o
|
||||
OBJECTS += $(OBJDIR)/error.o
|
||||
OBJECTS += $(OBJDIR)/foreign_class.o
|
||||
OBJECTS += $(OBJDIR)/get_variable.o
|
||||
OBJECTS += $(OBJDIR)/handle.o
|
||||
OBJECTS += $(OBJDIR)/lists.o
|
||||
OBJECTS += $(OBJDIR)/main.o
|
||||
OBJECTS += $(OBJDIR)/new_vm.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_call_abort.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_foreign_construct.o
|
||||
OBJECTS += $(OBJDIR)/resolution.o
|
||||
OBJECTS += $(OBJDIR)/slots.o
|
||||
OBJECTS += $(OBJDIR)/test.o
|
||||
OBJECTS += $(OBJDIR)/user_data.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_test
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_test
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/api_tests.o: ../../test/api/api_tests.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/benchmark.o: ../../test/api/benchmark.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call.o: ../../test/api/call.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_calls_foreign.o: ../../test/api/call_calls_foreign.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_wren_call_root.o: ../../test/api/call_wren_call_root.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/error.o: ../../test/api/error.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/foreign_class.o: ../../test/api/foreign_class.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/get_variable.o: ../../test/api/get_variable.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/handle.o: ../../test/api/handle.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/lists.o: ../../test/api/lists.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/new_vm.o: ../../test/api/new_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_call_abort.o: ../../test/api/reset_stack_after_call_abort.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_foreign_construct.o: ../../test/api/reset_stack_after_foreign_construct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/resolution.o: ../../test/api/resolution.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/slots.o: ../../test/api/slots.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/user_data.o: ../../test/api/user_data.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/main.o: ../../test/main.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/test.o: ../../test/test.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
92
projects/make.mac/Makefile
Normal file
92
projects/make.mac/Makefile
Normal file
@ -0,0 +1,92 @@
|
||||
# Alternative GNU Make workspace makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
wren_config = release_64bit
|
||||
wren_shared_config = release_64bit
|
||||
wren_test_config = release_64bit
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
wren_config = release_32bit
|
||||
wren_shared_config = release_32bit
|
||||
wren_test_config = release_32bit
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
wren_config = release_64bit-no-nan-tagging
|
||||
wren_shared_config = release_64bit-no-nan-tagging
|
||||
wren_test_config = release_64bit-no-nan-tagging
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
wren_config = debug_64bit
|
||||
wren_shared_config = debug_64bit
|
||||
wren_test_config = debug_64bit
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
wren_config = debug_32bit
|
||||
wren_shared_config = debug_32bit
|
||||
wren_test_config = debug_32bit
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
wren_config = debug_64bit-no-nan-tagging
|
||||
wren_shared_config = debug_64bit-no-nan-tagging
|
||||
wren_test_config = debug_64bit-no-nan-tagging
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
PROJECTS := wren wren_shared wren_test
|
||||
|
||||
.PHONY: all clean help $(PROJECTS)
|
||||
|
||||
all: $(PROJECTS)
|
||||
|
||||
wren:
|
||||
ifneq (,$(wren_config))
|
||||
@echo "==== Building wren ($(wren_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren.make config=$(wren_config)
|
||||
endif
|
||||
|
||||
wren_shared:
|
||||
ifneq (,$(wren_shared_config))
|
||||
@echo "==== Building wren_shared ($(wren_shared_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make config=$(wren_shared_config)
|
||||
endif
|
||||
|
||||
wren_test: wren
|
||||
ifneq (,$(wren_test_config))
|
||||
@echo "==== Building wren_test ($(wren_test_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make config=$(wren_test_config)
|
||||
endif
|
||||
|
||||
clean:
|
||||
@${MAKE} --no-print-directory -C . -f wren.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make clean
|
||||
|
||||
help:
|
||||
@echo "Usage: make [config=name] [target]"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " release_64bit"
|
||||
@echo " release_32bit"
|
||||
@echo " release_64bit-no-nan-tagging"
|
||||
@echo " debug_64bit"
|
||||
@echo " debug_32bit"
|
||||
@echo " debug_64bit-no-nan-tagging"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " all (default)"
|
||||
@echo " clean"
|
||||
@echo " wren"
|
||||
@echo " wren_shared"
|
||||
@echo " wren_test"
|
||||
@echo ""
|
||||
@echo "For more information, see https://github.com/premake/premake-core/wiki"
|
||||
212
projects/make.mac/wren.make
Normal file
212
projects/make.mac/wren.make
Normal file
@ -0,0 +1,212 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
ifeq ($(origin CC), default)
|
||||
CC = clang
|
||||
endif
|
||||
ifeq ($(origin CXX), default)
|
||||
CXX = clang++
|
||||
endif
|
||||
ifeq ($(origin AR), default)
|
||||
AR = ar
|
||||
endif
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/32bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/32bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
212
projects/make.mac/wren_shared.make
Normal file
212
projects/make.mac/wren_shared.make
Normal file
@ -0,0 +1,212 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
ifeq ($(origin CC), default)
|
||||
CC = clang
|
||||
endif
|
||||
ifeq ($(origin CXX), default)
|
||||
CXX = clang++
|
||||
endif
|
||||
ifeq ($(origin AR), default)
|
||||
AR = ar
|
||||
endif
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS +=
|
||||
LDDEPS +=
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.dylib
|
||||
OBJDIR = obj/64bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64 -dynamiclib -Wl,-install_name,@rpath/libwren.dylib
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.dylib
|
||||
OBJDIR = obj/32bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32 -dynamiclib -Wl,-install_name,@rpath/libwren.dylib
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.dylib
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_shared
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -dynamiclib -Wl,-install_name,@rpath/libwren.dylib
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.dylib
|
||||
OBJDIR = obj/64bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64 -dynamiclib -Wl,-install_name,@rpath/libwren_d.dylib
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.dylib
|
||||
OBJDIR = obj/32bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32 -dynamiclib -Wl,-install_name,@rpath/libwren_d.dylib
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.dylib
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_shared
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -dynamiclib -Wl,-install_name,@rpath/libwren_d.dylib
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_shared
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_shared
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
258
projects/make.mac/wren_test.make
Normal file
258
projects/make.mac/wren_test.make
Normal file
@ -0,0 +1,258 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
ifeq ($(origin CC), default)
|
||||
CC = clang
|
||||
endif
|
||||
ifeq ($(origin CXX), default)
|
||||
CXX = clang++
|
||||
endif
|
||||
ifeq ($(origin AR), default)
|
||||
AR = ar
|
||||
endif
|
||||
INCLUDES += -I../../src/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
LIBS += ../../lib/libwren.a
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/32bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
LIBS += ../../lib/libwren.a
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_test
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
LIBS += ../../lib/libwren.a
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
LIBS += ../../lib/libwren_d.a
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/32bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
LIBS += ../../lib/libwren_d.a
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_test
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
LIBS += ../../lib/libwren_d.a
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/api_tests.o
|
||||
OBJECTS += $(OBJDIR)/benchmark.o
|
||||
OBJECTS += $(OBJDIR)/call.o
|
||||
OBJECTS += $(OBJDIR)/call_calls_foreign.o
|
||||
OBJECTS += $(OBJDIR)/call_wren_call_root.o
|
||||
OBJECTS += $(OBJDIR)/error.o
|
||||
OBJECTS += $(OBJDIR)/foreign_class.o
|
||||
OBJECTS += $(OBJDIR)/get_variable.o
|
||||
OBJECTS += $(OBJDIR)/handle.o
|
||||
OBJECTS += $(OBJDIR)/lists.o
|
||||
OBJECTS += $(OBJDIR)/main.o
|
||||
OBJECTS += $(OBJDIR)/new_vm.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_call_abort.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_foreign_construct.o
|
||||
OBJECTS += $(OBJDIR)/resolution.o
|
||||
OBJECTS += $(OBJDIR)/slots.o
|
||||
OBJECTS += $(OBJDIR)/test.o
|
||||
OBJECTS += $(OBJDIR)/user_data.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_test
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_test
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/api_tests.o: ../../test/api/api_tests.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/benchmark.o: ../../test/api/benchmark.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call.o: ../../test/api/call.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_calls_foreign.o: ../../test/api/call_calls_foreign.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_wren_call_root.o: ../../test/api/call_wren_call_root.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/error.o: ../../test/api/error.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/foreign_class.o: ../../test/api/foreign_class.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/get_variable.o: ../../test/api/get_variable.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/handle.o: ../../test/api/handle.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/lists.o: ../../test/api/lists.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/new_vm.o: ../../test/api/new_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_call_abort.o: ../../test/api/reset_stack_after_call_abort.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_foreign_construct.o: ../../test/api/reset_stack_after_foreign_construct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/resolution.o: ../../test/api/resolution.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/slots.o: ../../test/api/slots.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/user_data.o: ../../test/api/user_data.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/main.o: ../../test/main.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/test.o: ../../test/test.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
92
projects/make/Makefile
Normal file
92
projects/make/Makefile
Normal file
@ -0,0 +1,92 @@
|
||||
# Alternative GNU Make workspace makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
wren_config = release_64bit
|
||||
wren_shared_config = release_64bit
|
||||
wren_test_config = release_64bit
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
wren_config = release_32bit
|
||||
wren_shared_config = release_32bit
|
||||
wren_test_config = release_32bit
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
wren_config = release_64bit-no-nan-tagging
|
||||
wren_shared_config = release_64bit-no-nan-tagging
|
||||
wren_test_config = release_64bit-no-nan-tagging
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
wren_config = debug_64bit
|
||||
wren_shared_config = debug_64bit
|
||||
wren_test_config = debug_64bit
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
wren_config = debug_32bit
|
||||
wren_shared_config = debug_32bit
|
||||
wren_test_config = debug_32bit
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
wren_config = debug_64bit-no-nan-tagging
|
||||
wren_shared_config = debug_64bit-no-nan-tagging
|
||||
wren_test_config = debug_64bit-no-nan-tagging
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
PROJECTS := wren wren_shared wren_test
|
||||
|
||||
.PHONY: all clean help $(PROJECTS)
|
||||
|
||||
all: $(PROJECTS)
|
||||
|
||||
wren:
|
||||
ifneq (,$(wren_config))
|
||||
@echo "==== Building wren ($(wren_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren.make config=$(wren_config)
|
||||
endif
|
||||
|
||||
wren_shared:
|
||||
ifneq (,$(wren_shared_config))
|
||||
@echo "==== Building wren_shared ($(wren_shared_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make config=$(wren_shared_config)
|
||||
endif
|
||||
|
||||
wren_test: wren
|
||||
ifneq (,$(wren_test_config))
|
||||
@echo "==== Building wren_test ($(wren_test_config)) ===="
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make config=$(wren_test_config)
|
||||
endif
|
||||
|
||||
clean:
|
||||
@${MAKE} --no-print-directory -C . -f wren.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_shared.make clean
|
||||
@${MAKE} --no-print-directory -C . -f wren_test.make clean
|
||||
|
||||
help:
|
||||
@echo "Usage: make [config=name] [target]"
|
||||
@echo ""
|
||||
@echo "CONFIGURATIONS:"
|
||||
@echo " release_64bit"
|
||||
@echo " release_32bit"
|
||||
@echo " release_64bit-no-nan-tagging"
|
||||
@echo " debug_64bit"
|
||||
@echo " debug_32bit"
|
||||
@echo " debug_64bit-no-nan-tagging"
|
||||
@echo ""
|
||||
@echo "TARGETS:"
|
||||
@echo " all (default)"
|
||||
@echo " clean"
|
||||
@echo " wren"
|
||||
@echo " wren_shared"
|
||||
@echo " wren_test"
|
||||
@echo ""
|
||||
@echo "For more information, see https://github.com/premake/premake-core/wiki"
|
||||
204
projects/make/wren.make
Normal file
204
projects/make/wren.make
Normal file
@ -0,0 +1,204 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += -lm
|
||||
LDDEPS +=
|
||||
LINKCMD = $(AR) -rcs "$@" $(OBJECTS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/32bit/Release/wren
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
ALL_LDFLAGS += $(LDFLAGS) -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/32bit/Debug/wren
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.a
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
204
projects/make/wren_shared.make
Normal file
204
projects/make/wren_shared.make
Normal file
@ -0,0 +1,204 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include -I../../src/vm -I../../src/optional
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LIBS += -lm
|
||||
LDDEPS +=
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/64bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -shared -Wl,-soname=libwren.so -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/32bit/Release/wren_shared
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -shared -Wl,-soname=libwren.so -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren.so
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_shared
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2 -fPIC
|
||||
ALL_LDFLAGS += $(LDFLAGS) -shared -Wl,-soname=libwren.so -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/64bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -shared -Wl,-soname=libwren_d.so
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/32bit/Debug/wren_shared
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -shared -Wl,-soname=libwren_d.so
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../lib
|
||||
TARGET = $(TARGETDIR)/libwren_d.so
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_shared
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -fPIC -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -fPIC -g
|
||||
ALL_LDFLAGS += $(LDFLAGS) -shared -Wl,-soname=libwren_d.so
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/wren_compiler.o
|
||||
OBJECTS += $(OBJDIR)/wren_core.o
|
||||
OBJECTS += $(OBJDIR)/wren_debug.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_meta.o
|
||||
OBJECTS += $(OBJDIR)/wren_opt_random.o
|
||||
OBJECTS += $(OBJDIR)/wren_primitive.o
|
||||
OBJECTS += $(OBJDIR)/wren_utils.o
|
||||
OBJECTS += $(OBJDIR)/wren_value.o
|
||||
OBJECTS += $(OBJDIR)/wren_vm.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_shared
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_shared
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/wren_opt_meta.o: ../../src/optional/wren_opt_meta.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_opt_random.o: ../../src/optional/wren_opt_random.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_compiler.o: ../../src/vm/wren_compiler.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_core.o: ../../src/vm/wren_core.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_debug.o: ../../src/vm/wren_debug.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_primitive.o: ../../src/vm/wren_primitive.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_utils.o: ../../src/vm/wren_utils.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_value.o: ../../src/vm/wren_value.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/wren_vm.o: ../../src/vm/wren_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
250
projects/make/wren_test.make
Normal file
250
projects/make/wren_test.make
Normal file
@ -0,0 +1,250 @@
|
||||
# Alternative GNU Make project makefile autogenerated by Premake
|
||||
|
||||
ifndef config
|
||||
config=release_64bit
|
||||
endif
|
||||
|
||||
ifndef verbose
|
||||
SILENT = @
|
||||
endif
|
||||
|
||||
.PHONY: clean prebuild
|
||||
|
||||
SHELLTYPE := posix
|
||||
ifeq (.exe,$(findstring .exe,$(ComSpec)))
|
||||
SHELLTYPE := msdos
|
||||
endif
|
||||
|
||||
# Configurations
|
||||
# #############################################
|
||||
|
||||
RESCOMP = windres
|
||||
INCLUDES += -I../../src/include
|
||||
FORCE_INCLUDE +=
|
||||
ALL_CPPFLAGS += $(CPPFLAGS) -MMD -MP $(DEFINES) $(INCLUDES)
|
||||
ALL_RESFLAGS += $(RESFLAGS) $(DEFINES) $(INCLUDES)
|
||||
LINKCMD = $(CC) -o "$@" $(OBJECTS) $(RESOURCES) $(ALL_LDFLAGS) $(LIBS)
|
||||
define PREBUILDCMDS
|
||||
endef
|
||||
define PRELINKCMDS
|
||||
endef
|
||||
define POSTBUILDCMDS
|
||||
endef
|
||||
|
||||
ifeq ($(config),release_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64 -s
|
||||
|
||||
else ifeq ($(config),release_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/32bit/Release/wren_test
|
||||
DEFINES += -DNDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32 -s
|
||||
|
||||
else ifeq ($(config),release_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Release/wren_test
|
||||
DEFINES += -DNDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -O2 -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -O2
|
||||
LIBS += ../../lib/libwren.a -lm
|
||||
LDDEPS += ../../lib/libwren.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -s
|
||||
|
||||
else ifeq ($(config),debug_64bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m64 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m64 -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib64 -m64
|
||||
|
||||
else ifeq ($(config),debug_32bit)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/32bit/Debug/wren_test
|
||||
DEFINES += -DDEBUG
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -m32 -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -m32 -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS) -L/usr/lib32 -m32
|
||||
|
||||
else ifeq ($(config),debug_64bit-no-nan-tagging)
|
||||
TARGETDIR = ../../bin
|
||||
TARGET = $(TARGETDIR)/wren_test_d
|
||||
OBJDIR = obj/64bit-no-nan-tagging/Debug/wren_test
|
||||
DEFINES += -DDEBUG -DWREN_NAN_TAGGING=0
|
||||
ALL_CFLAGS += $(CFLAGS) $(ALL_CPPFLAGS) -g -std=c99
|
||||
ALL_CXXFLAGS += $(CXXFLAGS) $(ALL_CPPFLAGS) -g
|
||||
LIBS += ../../lib/libwren_d.a -lm
|
||||
LDDEPS += ../../lib/libwren_d.a
|
||||
ALL_LDFLAGS += $(LDFLAGS)
|
||||
|
||||
else
|
||||
$(error "invalid configuration $(config)")
|
||||
endif
|
||||
|
||||
# Per File Configurations
|
||||
# #############################################
|
||||
|
||||
|
||||
# File sets
|
||||
# #############################################
|
||||
|
||||
OBJECTS :=
|
||||
|
||||
OBJECTS += $(OBJDIR)/api_tests.o
|
||||
OBJECTS += $(OBJDIR)/benchmark.o
|
||||
OBJECTS += $(OBJDIR)/call.o
|
||||
OBJECTS += $(OBJDIR)/call_calls_foreign.o
|
||||
OBJECTS += $(OBJDIR)/call_wren_call_root.o
|
||||
OBJECTS += $(OBJDIR)/error.o
|
||||
OBJECTS += $(OBJDIR)/foreign_class.o
|
||||
OBJECTS += $(OBJDIR)/get_variable.o
|
||||
OBJECTS += $(OBJDIR)/handle.o
|
||||
OBJECTS += $(OBJDIR)/lists.o
|
||||
OBJECTS += $(OBJDIR)/main.o
|
||||
OBJECTS += $(OBJDIR)/new_vm.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_call_abort.o
|
||||
OBJECTS += $(OBJDIR)/reset_stack_after_foreign_construct.o
|
||||
OBJECTS += $(OBJDIR)/resolution.o
|
||||
OBJECTS += $(OBJDIR)/slots.o
|
||||
OBJECTS += $(OBJDIR)/test.o
|
||||
OBJECTS += $(OBJDIR)/user_data.o
|
||||
|
||||
# Rules
|
||||
# #############################################
|
||||
|
||||
all: $(TARGET)
|
||||
@:
|
||||
|
||||
$(TARGET): $(OBJECTS) $(LDDEPS) | $(TARGETDIR)
|
||||
$(PRELINKCMDS)
|
||||
@echo Linking wren_test
|
||||
$(SILENT) $(LINKCMD)
|
||||
$(POSTBUILDCMDS)
|
||||
|
||||
$(TARGETDIR):
|
||||
@echo Creating $(TARGETDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(TARGETDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(TARGETDIR))
|
||||
endif
|
||||
|
||||
$(OBJDIR):
|
||||
@echo Creating $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) mkdir -p $(OBJDIR)
|
||||
else
|
||||
$(SILENT) mkdir $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
clean:
|
||||
@echo Cleaning wren_test
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) rm -f $(TARGET)
|
||||
$(SILENT) rm -rf $(OBJDIR)
|
||||
else
|
||||
$(SILENT) if exist $(subst /,\\,$(TARGET)) del $(subst /,\\,$(TARGET))
|
||||
$(SILENT) if exist $(subst /,\\,$(OBJDIR)) rmdir /s /q $(subst /,\\,$(OBJDIR))
|
||||
endif
|
||||
|
||||
prebuild: | $(OBJDIR)
|
||||
$(PREBUILDCMDS)
|
||||
|
||||
ifneq (,$(PCH))
|
||||
$(OBJECTS): $(GCH) | $(PCH_PLACEHOLDER)
|
||||
$(GCH): $(PCH) | prebuild
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) -x c-header $(ALL_CFLAGS) -o "$@" -MF "$(@:%.gch=%.d)" -c "$<"
|
||||
$(PCH_PLACEHOLDER): $(GCH) | $(OBJDIR)
|
||||
ifeq (posix,$(SHELLTYPE))
|
||||
$(SILENT) touch "$@"
|
||||
else
|
||||
$(SILENT) echo $null >> "$@"
|
||||
endif
|
||||
else
|
||||
$(OBJECTS): | prebuild
|
||||
endif
|
||||
|
||||
|
||||
# File Rules
|
||||
# #############################################
|
||||
|
||||
$(OBJDIR)/api_tests.o: ../../test/api/api_tests.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/benchmark.o: ../../test/api/benchmark.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call.o: ../../test/api/call.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_calls_foreign.o: ../../test/api/call_calls_foreign.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/call_wren_call_root.o: ../../test/api/call_wren_call_root.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/error.o: ../../test/api/error.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/foreign_class.o: ../../test/api/foreign_class.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/get_variable.o: ../../test/api/get_variable.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/handle.o: ../../test/api/handle.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/lists.o: ../../test/api/lists.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/new_vm.o: ../../test/api/new_vm.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_call_abort.o: ../../test/api/reset_stack_after_call_abort.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/reset_stack_after_foreign_construct.o: ../../test/api/reset_stack_after_foreign_construct.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/resolution.o: ../../test/api/resolution.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/slots.o: ../../test/api/slots.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/user_data.o: ../../test/api/user_data.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/main.o: ../../test/main.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
$(OBJDIR)/test.o: ../../test/test.c
|
||||
@echo $(notdir $<)
|
||||
$(SILENT) $(CC) $(ALL_CFLAGS) $(FORCE_INCLUDE) -o "$@" -MF "$(@:%.o=%.d)" -c "$<"
|
||||
|
||||
-include $(OBJECTS:%.o=%.d)
|
||||
ifneq (,$(PCH))
|
||||
-include $(PCH_PLACEHOLDER).d
|
||||
endif
|
||||
103
projects/premake/premake5.lua
Normal file
103
projects/premake/premake5.lua
Normal file
@ -0,0 +1,103 @@
|
||||
workspace "wren"
|
||||
configurations { "Release", "Debug" }
|
||||
platforms { "64bit", "32bit", "64bit-no-nan-tagging" }
|
||||
defaultplatform "64bit"
|
||||
startproject "wren_test"
|
||||
location ("../" .. _ACTION)
|
||||
|
||||
filter "configurations:Debug"
|
||||
targetsuffix "_d"
|
||||
defines { "DEBUG" }
|
||||
symbols "On"
|
||||
|
||||
filter "configurations:Release"
|
||||
defines { "NDEBUG" }
|
||||
optimize "On"
|
||||
|
||||
filter "platforms:64bit-no-nan-tagging"
|
||||
defines { "WREN_NAN_TAGGING=0" }
|
||||
|
||||
--the 'xcode4' and 'gmake2' folder names
|
||||
--are simply confusing, so, simplify then
|
||||
filter { "action:xcode4" }
|
||||
location ("../xcode")
|
||||
|
||||
filter "action:gmake2"
|
||||
location ("../make")
|
||||
|
||||
filter { "action:gmake2", "system:bsd" }
|
||||
location ("../make.bsd")
|
||||
|
||||
filter { "action:gmake2", "system:macosx" }
|
||||
location ("../make.mac")
|
||||
|
||||
filter "platforms:32bit"
|
||||
architecture "x86"
|
||||
|
||||
filter "platforms:64bit"
|
||||
architecture "x86_64"
|
||||
|
||||
filter "system:windows"
|
||||
systemversion "latest"
|
||||
defines { "_CRT_SECURE_NO_WARNINGS" }
|
||||
|
||||
filter "system:linux"
|
||||
links { "m" }
|
||||
|
||||
filter "system:bsd"
|
||||
links { "m" }
|
||||
|
||||
project "wren"
|
||||
kind "StaticLib"
|
||||
language "C"
|
||||
cdialect "C99"
|
||||
targetdir "../../lib"
|
||||
|
||||
files {
|
||||
"../../src/**.h",
|
||||
"../../src/**.c"
|
||||
}
|
||||
|
||||
includedirs {
|
||||
"../../src/include",
|
||||
"../../src/vm",
|
||||
"../../src/optional"
|
||||
}
|
||||
|
||||
project "wren_shared"
|
||||
kind "SharedLib"
|
||||
targetname "wren"
|
||||
language "C"
|
||||
cdialect "C99"
|
||||
targetdir "../../lib"
|
||||
|
||||
files {
|
||||
"../../src/**.h",
|
||||
"../../src/**.c"
|
||||
}
|
||||
|
||||
includedirs {
|
||||
"../../src/include",
|
||||
"../../src/vm",
|
||||
"../../src/optional"
|
||||
}
|
||||
|
||||
project "wren_test"
|
||||
kind "ConsoleApp"
|
||||
language "C"
|
||||
cdialect "C99"
|
||||
targetdir "../../bin"
|
||||
dependson "wren"
|
||||
links { "wren" }
|
||||
|
||||
files {
|
||||
"../../test/main.c",
|
||||
"../../test/test.c",
|
||||
"../../test/test.h",
|
||||
"../../test/api/*.c",
|
||||
"../../test/api/*.h"
|
||||
}
|
||||
|
||||
includedirs {
|
||||
"../../src/include"
|
||||
}
|
||||
65
projects/vs2017/wren.sln
Normal file
65
projects/vs2017/wren.sln
Normal file
@ -0,0 +1,65 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 15
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren_test", "wren_test.vcxproj", "{60BC8FB3-CC26-442A-1565-F5CF810E227F}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F} = {0143A07C-ED79-A10D-9666-8710827C1D0F}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren", "wren.vcxproj", "{0143A07C-ED79-A10D-9666-8710827C1D0F}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren_shared", "wren_shared.vcxproj", "{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|64bit = Debug|64bit
|
||||
Release|64bit = Release|64bit
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|32bit = Debug|32bit
|
||||
Debug|64bit-no-nan-tagging = Debug|64bit-no-nan-tagging
|
||||
Release|32bit = Release|32bit
|
||||
Release|64bit-no-nan-tagging = Release|64bit-no-nan-tagging
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
279
projects/vs2017/wren.vcxproj
Normal file
279
projects/vs2017/wren.vcxproj
Normal file
@ -0,0 +1,279 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{0143A07C-ED79-A10D-9666-8710827C1D0F}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c" />
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
81
projects/vs2017/wren.vcxproj.filters
Normal file
81
projects/vs2017/wren.vcxproj.filters
Normal file
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
<UniqueIdentifier>{89AF369E-F58E-B539-FEA6-40106A051C9B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="optional">
|
||||
<UniqueIdentifier>{CB60FAAF-B72D-55BB-E046-4363CC728A49}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="vm">
|
||||
<UniqueIdentifier>{E8795900-D405-880B-3DB4-880B295F880B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
291
projects/vs2017/wren_shared.vcxproj
Normal file
291
projects/vs2017/wren_shared.vcxproj
Normal file
@ -0,0 +1,291 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren_shared</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c" />
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
81
projects/vs2017/wren_shared.vcxproj.filters
Normal file
81
projects/vs2017/wren_shared.vcxproj.filters
Normal file
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
<UniqueIdentifier>{89AF369E-F58E-B539-FEA6-40106A051C9B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="optional">
|
||||
<UniqueIdentifier>{CB60FAAF-B72D-55BB-E046-4363CC728A49}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="vm">
|
||||
<UniqueIdentifier>{E8795900-D405-880B-3DB4-880B295F880B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
304
projects/vs2017/wren_test.vcxproj
Normal file
304
projects/vs2017/wren_test.vcxproj
Normal file
@ -0,0 +1,304 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{60BC8FB3-CC26-442A-1565-F5CF810E227F}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren_test</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0.18362.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v141</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\test\api\api_tests.h" />
|
||||
<ClInclude Include="..\..\test\api\benchmark.h" />
|
||||
<ClInclude Include="..\..\test\api\call.h" />
|
||||
<ClInclude Include="..\..\test\api\call_calls_foreign.h" />
|
||||
<ClInclude Include="..\..\test\api\call_wren_call_root.h" />
|
||||
<ClInclude Include="..\..\test\api\error.h" />
|
||||
<ClInclude Include="..\..\test\api\foreign_class.h" />
|
||||
<ClInclude Include="..\..\test\api\get_variable.h" />
|
||||
<ClInclude Include="..\..\test\api\handle.h" />
|
||||
<ClInclude Include="..\..\test\api\lists.h" />
|
||||
<ClInclude Include="..\..\test\api\new_vm.h" />
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_call_abort.h" />
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_foreign_construct.h" />
|
||||
<ClInclude Include="..\..\test\api\resolution.h" />
|
||||
<ClInclude Include="..\..\test\api\slots.h" />
|
||||
<ClInclude Include="..\..\test\api\user_data.h" />
|
||||
<ClInclude Include="..\..\test\test.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\test\api\api_tests.c" />
|
||||
<ClCompile Include="..\..\test\api\benchmark.c" />
|
||||
<ClCompile Include="..\..\test\api\call.c" />
|
||||
<ClCompile Include="..\..\test\api\call_calls_foreign.c" />
|
||||
<ClCompile Include="..\..\test\api\call_wren_call_root.c" />
|
||||
<ClCompile Include="..\..\test\api\error.c" />
|
||||
<ClCompile Include="..\..\test\api\foreign_class.c" />
|
||||
<ClCompile Include="..\..\test\api\get_variable.c" />
|
||||
<ClCompile Include="..\..\test\api\handle.c" />
|
||||
<ClCompile Include="..\..\test\api\lists.c" />
|
||||
<ClCompile Include="..\..\test\api\new_vm.c" />
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_call_abort.c" />
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_foreign_construct.c" />
|
||||
<ClCompile Include="..\..\test\api\resolution.c" />
|
||||
<ClCompile Include="..\..\test\api\slots.c" />
|
||||
<ClCompile Include="..\..\test\api\user_data.c" />
|
||||
<ClCompile Include="..\..\test\main.c" />
|
||||
<ClCompile Include="..\..\test\test.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="wren.vcxproj">
|
||||
<Project>{0143A07C-ED79-A10D-9666-8710827C1D0F}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
111
projects/vs2017/wren_test.vcxproj.filters
Normal file
111
projects/vs2017/wren_test.vcxproj.filters
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="api">
|
||||
<UniqueIdentifier>{5F5E880B-CB67-887C-54E3-9E7CC0EB937C}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\test\api\api_tests.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\benchmark.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call_calls_foreign.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call_wren_call_root.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\error.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\foreign_class.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\get_variable.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\handle.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\lists.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\new_vm.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_call_abort.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_foreign_construct.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\resolution.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\slots.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\user_data.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\test.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\test\api\api_tests.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\benchmark.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call_calls_foreign.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call_wren_call_root.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\error.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\foreign_class.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\get_variable.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\handle.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\lists.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\new_vm.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_call_abort.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_foreign_construct.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\resolution.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\slots.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\user_data.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\main.c" />
|
||||
<ClCompile Include="..\..\test\test.c" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
65
projects/vs2019/wren.sln
Normal file
65
projects/vs2019/wren.sln
Normal file
@ -0,0 +1,65 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 16
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren_test", "wren_test.vcxproj", "{60BC8FB3-CC26-442A-1565-F5CF810E227F}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F} = {0143A07C-ED79-A10D-9666-8710827C1D0F}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren", "wren.vcxproj", "{0143A07C-ED79-A10D-9666-8710827C1D0F}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "wren_shared", "wren_shared.vcxproj", "{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|64bit = Debug|64bit
|
||||
Release|64bit = Release|64bit
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|32bit = Debug|32bit
|
||||
Debug|64bit-no-nan-tagging = Debug|64bit-no-nan-tagging
|
||||
Release|32bit = Release|32bit
|
||||
Release|64bit-no-nan-tagging = Release|64bit-no-nan-tagging
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{60BC8FB3-CC26-442A-1565-F5CF810E227F}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{0143A07C-ED79-A10D-9666-8710827C1D0F}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|32bit.ActiveCfg = Debug 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|32bit.Build.0 = Debug 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit.ActiveCfg = Debug 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit.Build.0 = Debug 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit-no-nan-tagging.ActiveCfg = Debug 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Debug|64bit-no-nan-tagging.Build.0 = Debug 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|32bit.ActiveCfg = Release 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|32bit.Build.0 = Release 32bit|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit.ActiveCfg = Release 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit.Build.0 = Release 64bit|x64
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit-no-nan-tagging.ActiveCfg = Release 64bit-no-nan-tagging|Win32
|
||||
{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}.Release|64bit-no-nan-tagging.Build.0 = Release 64bit-no-nan-tagging|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
279
projects/vs2019/wren.vcxproj
Normal file
279
projects/vs2019/wren.vcxproj
Normal file
@ -0,0 +1,279 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{0143A07C-ED79-A10D-9666-8710827C1D0F}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.lib</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c" />
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
81
projects/vs2019/wren.vcxproj.filters
Normal file
81
projects/vs2019/wren.vcxproj.filters
Normal file
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
<UniqueIdentifier>{89AF369E-F58E-B539-FEA6-40106A051C9B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="optional">
|
||||
<UniqueIdentifier>{CB60FAAF-B72D-55BB-E046-4363CC728A49}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="vm">
|
||||
<UniqueIdentifier>{E8795900-D405-880B-3DB4-880B295F880B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
291
projects/vs2019/wren_shared.vcxproj
Normal file
291
projects/vs2019/wren_shared.vcxproj
Normal file
@ -0,0 +1,291 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{579B47D4-C350-C0C9-4C45-BAA0B8F9B6CD}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren_shared</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren_shared\</IntDir>
|
||||
<TargetName>wren</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\lib\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren_shared\</IntDir>
|
||||
<TargetName>wren_d</TargetName>
|
||||
<TargetExt>.dll</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<ImportLibrary>..\..\lib\wren.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;..\..\src\vm;..\..\src\optional;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<ImportLibrary>..\..\lib\wren_d.lib</ImportLibrary>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h" />
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h" />
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c" />
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c" />
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
81
projects/vs2019/wren_shared.vcxproj.filters
Normal file
81
projects/vs2019/wren_shared.vcxproj.filters
Normal file
@ -0,0 +1,81 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="include">
|
||||
<UniqueIdentifier>{89AF369E-F58E-B539-FEA6-40106A051C9B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="optional">
|
||||
<UniqueIdentifier>{CB60FAAF-B72D-55BB-E046-4363CC728A49}</UniqueIdentifier>
|
||||
</Filter>
|
||||
<Filter Include="vm">
|
||||
<UniqueIdentifier>{E8795900-D405-880B-3DB4-880B295F880B}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\src\include\wren.h">
|
||||
<Filter>include</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_meta.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\optional\wren_opt_random.h">
|
||||
<Filter>optional</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_common.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_compiler.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_core.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_debug.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_opcodes.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_primitive.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_utils.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_value.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\src\vm\wren_vm.h">
|
||||
<Filter>vm</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_meta.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\optional\wren_opt_random.c">
|
||||
<Filter>optional</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_compiler.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_core.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_debug.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_primitive.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_utils.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_value.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\src\vm\wren_vm.c">
|
||||
<Filter>vm</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
304
projects/vs2019/wren_test.vcxproj
Normal file
304
projects/vs2019/wren_test.vcxproj
Normal file
@ -0,0 +1,304 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Release 64bit|x64">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit|Win32">
|
||||
<Configuration>Release 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|x64">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 32bit|Win32">
|
||||
<Configuration>Release 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Release 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|x64">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit|Win32">
|
||||
<Configuration>Debug 64bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|x64">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 32bit|Win32">
|
||||
<Configuration>Debug 32bit</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|x64">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug 64bit-no-nan-tagging|Win32">
|
||||
<Configuration>Debug 64bit-no-nan-tagging</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{60BC8FB3-CC26-442A-1565-F5CF810E227F}</ProjectGuid>
|
||||
<IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>wren_test</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release 64bit|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 32bit|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 64bit-no-nan-tagging|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 64bit|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)'=='Debug 32bit|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 64bit-no-nan-tagging|Win32'">
|
||||
<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)'=='Release 64bit|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\32bit\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Release\wren_test\</IntDir>
|
||||
<TargetName>wren_test</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\32bit\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
<OutDir>..\..\bin\</OutDir>
|
||||
<IntDir>obj\64bit-no-nan-tagging\Debug\wren_test\</IntDir>
|
||||
<TargetName>wren_test_d</TargetName>
|
||||
<TargetExt>.exe</TargetExt>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>NDEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<MinimalRebuild>false</MinimalRebuild>
|
||||
<StringPooling>true</StringPooling>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 32bit|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug 64bit-no-nan-tagging|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PreprocessorDefinitions>DEBUG;WREN_NAN_TAGGING=0;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<AdditionalIncludeDirectories>..\..\src\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
|
||||
<Optimization>Disabled</Optimization>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Console</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\test\api\api_tests.h" />
|
||||
<ClInclude Include="..\..\test\api\benchmark.h" />
|
||||
<ClInclude Include="..\..\test\api\call.h" />
|
||||
<ClInclude Include="..\..\test\api\call_calls_foreign.h" />
|
||||
<ClInclude Include="..\..\test\api\call_wren_call_root.h" />
|
||||
<ClInclude Include="..\..\test\api\error.h" />
|
||||
<ClInclude Include="..\..\test\api\foreign_class.h" />
|
||||
<ClInclude Include="..\..\test\api\get_variable.h" />
|
||||
<ClInclude Include="..\..\test\api\handle.h" />
|
||||
<ClInclude Include="..\..\test\api\lists.h" />
|
||||
<ClInclude Include="..\..\test\api\new_vm.h" />
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_call_abort.h" />
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_foreign_construct.h" />
|
||||
<ClInclude Include="..\..\test\api\resolution.h" />
|
||||
<ClInclude Include="..\..\test\api\slots.h" />
|
||||
<ClInclude Include="..\..\test\api\user_data.h" />
|
||||
<ClInclude Include="..\..\test\test.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\test\api\api_tests.c" />
|
||||
<ClCompile Include="..\..\test\api\benchmark.c" />
|
||||
<ClCompile Include="..\..\test\api\call.c" />
|
||||
<ClCompile Include="..\..\test\api\call_calls_foreign.c" />
|
||||
<ClCompile Include="..\..\test\api\call_wren_call_root.c" />
|
||||
<ClCompile Include="..\..\test\api\error.c" />
|
||||
<ClCompile Include="..\..\test\api\foreign_class.c" />
|
||||
<ClCompile Include="..\..\test\api\get_variable.c" />
|
||||
<ClCompile Include="..\..\test\api\handle.c" />
|
||||
<ClCompile Include="..\..\test\api\lists.c" />
|
||||
<ClCompile Include="..\..\test\api\new_vm.c" />
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_call_abort.c" />
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_foreign_construct.c" />
|
||||
<ClCompile Include="..\..\test\api\resolution.c" />
|
||||
<ClCompile Include="..\..\test\api\slots.c" />
|
||||
<ClCompile Include="..\..\test\api\user_data.c" />
|
||||
<ClCompile Include="..\..\test\main.c" />
|
||||
<ClCompile Include="..\..\test\test.c" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="wren.vcxproj">
|
||||
<Project>{0143A07C-ED79-A10D-9666-8710827C1D0F}</Project>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
111
projects/vs2019/wren_test.vcxproj.filters
Normal file
111
projects/vs2019/wren_test.vcxproj.filters
Normal file
@ -0,0 +1,111 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<Filter Include="api">
|
||||
<UniqueIdentifier>{5F5E880B-CB67-887C-54E3-9E7CC0EB937C}</UniqueIdentifier>
|
||||
</Filter>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="..\..\test\api\api_tests.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\benchmark.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call_calls_foreign.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\call_wren_call_root.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\error.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\foreign_class.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\get_variable.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\handle.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\lists.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\new_vm.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_call_abort.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\reset_stack_after_foreign_construct.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\resolution.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\slots.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\api\user_data.h">
|
||||
<Filter>api</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="..\..\test\test.h" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="..\..\test\api\api_tests.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\benchmark.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call_calls_foreign.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\call_wren_call_root.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\error.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\foreign_class.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\get_variable.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\handle.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\lists.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\new_vm.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_call_abort.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\reset_stack_after_foreign_construct.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\resolution.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\slots.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\api\user_data.c">
|
||||
<Filter>api</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\..\test\main.c" />
|
||||
<ClCompile Include="..\..\test\test.c" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
296
projects/xcode/wren.xcodeproj/project.pbxproj
Normal file
296
projects/xcode/wren.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,296 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
032ED59302D1B8C53D266BD3 /* wren_opt_random.c in Sources */ = {isa = PBXBuildFile; fileRef = 737815DBCADD88CD7CEBA41B /* wren_opt_random.c */; };
|
||||
20773D38B5EDFC6A248A5378 /* wren_debug.c in Sources */ = {isa = PBXBuildFile; fileRef = 39C26800695436F244617640 /* wren_debug.c */; };
|
||||
76585F8088823C32BC7325C0 /* wren_compiler.c in Sources */ = {isa = PBXBuildFile; fileRef = C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */; };
|
||||
76CC0A9CBADFDBCEAEB160DC /* wren_primitive.c in Sources */ = {isa = PBXBuildFile; fileRef = 6F616124E0840216964AAF64 /* wren_primitive.c */; };
|
||||
7FA807D04313C98281B76E10 /* wren_vm.c in Sources */ = {isa = PBXBuildFile; fileRef = B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */; };
|
||||
8D5FBD0C22D67C3E9172D34C /* wren_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = A5CED894D560A786B06DE6D4 /* wren_utils.c */; };
|
||||
B9CCD11CEBC61BCE65A5575C /* wren_core.c in Sources */ = {isa = PBXBuildFile; fileRef = A24154A4F8CEBF16D147D2E4 /* wren_core.c */; };
|
||||
D1029E9FB01FB8D18C2914DF /* wren_opt_meta.c in Sources */ = {isa = PBXBuildFile; fileRef = 62592227F4E6EC195DBF9067 /* wren_opt_meta.c */; };
|
||||
E1DB0F647751CE96E5EE25A4 /* wren_value.c in Sources */ = {isa = PBXBuildFile; fileRef = AD30296CDCC1F85EB7CF37AC /* wren_value.c */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
14FE11AE703F65204399AFEE /* wren_common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_common.h; path = ../../src/vm/wren_common.h; sourceTree = "<group>"; };
|
||||
27B7A19221795E045B785FD2 /* wren_compiler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_compiler.h; path = ../../src/vm/wren_compiler.h; sourceTree = "<group>"; };
|
||||
39C26800695436F244617640 /* wren_debug.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_debug.c; path = ../../src/vm/wren_debug.c; sourceTree = "<group>"; };
|
||||
44AC34EA743E03DC4F4B432A /* wren_debug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_debug.h; path = ../../src/vm/wren_debug.h; sourceTree = "<group>"; };
|
||||
49DA870B4D4B593DCEB7FD4B /* libwren.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libwren.a; path = libwren.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
4BF57B22455B7C9438F6D962 /* wren_vm.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_vm.h; path = ../../src/vm/wren_vm.h; sourceTree = "<group>"; };
|
||||
62592227F4E6EC195DBF9067 /* wren_opt_meta.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_opt_meta.c; path = ../../src/optional/wren_opt_meta.c; sourceTree = "<group>"; };
|
||||
6F616124E0840216964AAF64 /* wren_primitive.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_primitive.c; path = ../../src/vm/wren_primitive.c; sourceTree = "<group>"; };
|
||||
737815DBCADD88CD7CEBA41B /* wren_opt_random.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_opt_random.c; path = ../../src/optional/wren_opt_random.c; sourceTree = "<group>"; };
|
||||
7BB4B776AC98AF68BFB0E5B6 /* wren_opcodes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opcodes.h; path = ../../src/vm/wren_opcodes.h; sourceTree = "<group>"; };
|
||||
8BA7E8EEE2355360BAAE672E /* wren_core.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_core.h; path = ../../src/vm/wren_core.h; sourceTree = "<group>"; };
|
||||
A24154A4F8CEBF16D147D2E4 /* wren_core.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_core.c; path = ../../src/vm/wren_core.c; sourceTree = "<group>"; };
|
||||
A5CED894D560A786B06DE6D4 /* wren_utils.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_utils.c; path = ../../src/vm/wren_utils.c; sourceTree = "<group>"; };
|
||||
AAEE79A50253EC97B46207E5 /* wren_opt_random.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opt_random.h; path = ../../src/optional/wren_opt_random.h; sourceTree = "<group>"; };
|
||||
AD30296CDCC1F85EB7CF37AC /* wren_value.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_value.c; path = ../../src/vm/wren_value.c; sourceTree = "<group>"; };
|
||||
B0B8A57EE04A7470BB57B3BE /* wren_utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_utils.h; path = ../../src/vm/wren_utils.h; sourceTree = "<group>"; };
|
||||
B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_vm.c; path = ../../src/vm/wren_vm.c; sourceTree = "<group>"; };
|
||||
B819F656E7ABC548C2B90496 /* wren_value.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_value.h; path = ../../src/vm/wren_value.h; sourceTree = "<group>"; };
|
||||
B8CA70B14B583AA3B430DEF1 /* wren_opt_meta.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opt_meta.h; path = ../../src/optional/wren_opt_meta.h; sourceTree = "<group>"; };
|
||||
C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_compiler.c; path = ../../src/vm/wren_compiler.c; sourceTree = "<group>"; };
|
||||
ECE6D43F03F96F71F4156A7F /* wren.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren.h; path = ../../src/include/wren.h; sourceTree = "<group>"; };
|
||||
FCC7D88E6DEA798023B126CE /* wren_primitive.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_primitive.h; path = ../../src/vm/wren_primitive.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
DF84AEFB82D0382D9DA1053B /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
046BC81407DC9A4689493E54 /* optional */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
62592227F4E6EC195DBF9067 /* wren_opt_meta.c */,
|
||||
B8CA70B14B583AA3B430DEF1 /* wren_opt_meta.h */,
|
||||
737815DBCADD88CD7CEBA41B /* wren_opt_random.c */,
|
||||
AAEE79A50253EC97B46207E5 /* wren_opt_random.h */,
|
||||
);
|
||||
name = optional;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5E8C725002DF100215175890 /* include */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
ECE6D43F03F96F71F4156A7F /* wren.h */,
|
||||
);
|
||||
name = include;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
6082C0DCD1C96F0E5FBBB71C /* wren */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5E8C725002DF100215175890 /* include */,
|
||||
046BC81407DC9A4689493E54 /* optional */,
|
||||
7E4BAA0E72C22140C195C04E /* vm */,
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */,
|
||||
);
|
||||
name = wren;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7E4BAA0E72C22140C195C04E /* vm */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
14FE11AE703F65204399AFEE /* wren_common.h */,
|
||||
C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */,
|
||||
27B7A19221795E045B785FD2 /* wren_compiler.h */,
|
||||
A24154A4F8CEBF16D147D2E4 /* wren_core.c */,
|
||||
8BA7E8EEE2355360BAAE672E /* wren_core.h */,
|
||||
39C26800695436F244617640 /* wren_debug.c */,
|
||||
44AC34EA743E03DC4F4B432A /* wren_debug.h */,
|
||||
7BB4B776AC98AF68BFB0E5B6 /* wren_opcodes.h */,
|
||||
6F616124E0840216964AAF64 /* wren_primitive.c */,
|
||||
FCC7D88E6DEA798023B126CE /* wren_primitive.h */,
|
||||
A5CED894D560A786B06DE6D4 /* wren_utils.c */,
|
||||
B0B8A57EE04A7470BB57B3BE /* wren_utils.h */,
|
||||
AD30296CDCC1F85EB7CF37AC /* wren_value.c */,
|
||||
B819F656E7ABC548C2B90496 /* wren_value.h */,
|
||||
B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */,
|
||||
4BF57B22455B7C9438F6D962 /* wren_vm.h */,
|
||||
);
|
||||
name = vm;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
49DA870B4D4B593DCEB7FD4B /* libwren.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
FC9829912B3E7D83847FD7D1 /* wren */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = CDBFF75A710B808C8BDC4D9A /* Build configuration list for PBXNativeTarget "wren" */;
|
||||
buildPhases = (
|
||||
4F6C2F9BF2B7B8CD0D8885DB /* Resources */,
|
||||
B91948F25C64D22477359F32 /* Sources */,
|
||||
DF84AEFB82D0382D9DA1053B /* Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = wren;
|
||||
productName = wren;
|
||||
productReference = 49DA870B4D4B593DCEB7FD4B /* libwren.a */;
|
||||
productType = "com.apple.product-type.library.static";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
08FB7793FE84155DC02AAC07 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = 6082C0DCD1C96F0E5FBBB71C /* wren */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
FC9829912B3E7D83847FD7D1 /* libwren.a */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
4F6C2F9BF2B7B8CD0D8885DB /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
B91948F25C64D22477359F32 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
D1029E9FB01FB8D18C2914DF /* wren_opt_meta.c in Sources */,
|
||||
032ED59302D1B8C53D266BD3 /* wren_opt_random.c in Sources */,
|
||||
76585F8088823C32BC7325C0 /* wren_compiler.c in Sources */,
|
||||
B9CCD11CEBC61BCE65A5575C /* wren_core.c in Sources */,
|
||||
20773D38B5EDFC6A248A5378 /* wren_debug.c in Sources */,
|
||||
76CC0A9CBADFDBCEAEB160DC /* wren_primitive.c in Sources */,
|
||||
8D5FBD0C22D67C3E9172D34C /* wren_utils.c in Sources */,
|
||||
E1DB0F647751CE96E5EE25A4 /* wren_value.c in Sources */,
|
||||
7FA807D04313C98281B76E10 /* wren_vm.c in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
2FCCE8EB6887AF5DF81EE72B /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
DEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Debug/wren";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SYMROOT = ../../lib;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
../../src/vm,
|
||||
../../src/optional,
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4597E3208E08C752D2A79960 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../lib;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/lib;
|
||||
PRODUCT_NAME = wren_d;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
4B12A9E59D98D4D76FDD3825 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_OPTIMIZATION_LEVEL = 3;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
NDEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Release/wren";
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
SYMROOT = ../../lib;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
../../src/vm,
|
||||
../../src/optional,
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
51E0461A7A1AFECC61B68C5A /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../lib;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/lib;
|
||||
PRODUCT_NAME = wren;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
4B12A9E59D98D4D76FDD3825 /* Release */,
|
||||
4B12A9E59D98D4D76FDD3825 /* Release */,
|
||||
4B12A9E59D98D4D76FDD3825 /* Release */,
|
||||
2FCCE8EB6887AF5DF81EE72B /* Debug */,
|
||||
2FCCE8EB6887AF5DF81EE72B /* Debug */,
|
||||
2FCCE8EB6887AF5DF81EE72B /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
CDBFF75A710B808C8BDC4D9A /* Build configuration list for PBXNativeTarget "libwren.a" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
51E0461A7A1AFECC61B68C5A /* Release */,
|
||||
51E0461A7A1AFECC61B68C5A /* Release */,
|
||||
51E0461A7A1AFECC61B68C5A /* Release */,
|
||||
4597E3208E08C752D2A79960 /* Debug */,
|
||||
4597E3208E08C752D2A79960 /* Debug */,
|
||||
4597E3208E08C752D2A79960 /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
|
||||
}
|
||||
13
projects/xcode/wren.xcworkspace/contents.xcworkspacedata
generated
Normal file
13
projects/xcode/wren.xcworkspace/contents.xcworkspacedata
generated
Normal file
@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Workspace
|
||||
version = "1.0">
|
||||
<FileRef
|
||||
location = "group:wren_test.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:wren.xcodeproj">
|
||||
</FileRef>
|
||||
<FileRef
|
||||
location = "group:wren_shared.xcodeproj">
|
||||
</FileRef>
|
||||
</Workspace>
|
||||
298
projects/xcode/wren_shared.xcodeproj/project.pbxproj
Normal file
298
projects/xcode/wren_shared.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,298 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
032ED59302D1B8C53D266BD3 /* wren_opt_random.c in Sources */ = {isa = PBXBuildFile; fileRef = 737815DBCADD88CD7CEBA41B /* wren_opt_random.c */; };
|
||||
20773D38B5EDFC6A248A5378 /* wren_debug.c in Sources */ = {isa = PBXBuildFile; fileRef = 39C26800695436F244617640 /* wren_debug.c */; };
|
||||
76585F8088823C32BC7325C0 /* wren_compiler.c in Sources */ = {isa = PBXBuildFile; fileRef = C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */; };
|
||||
76CC0A9CBADFDBCEAEB160DC /* wren_primitive.c in Sources */ = {isa = PBXBuildFile; fileRef = 6F616124E0840216964AAF64 /* wren_primitive.c */; };
|
||||
7FA807D04313C98281B76E10 /* wren_vm.c in Sources */ = {isa = PBXBuildFile; fileRef = B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */; };
|
||||
8D5FBD0C22D67C3E9172D34C /* wren_utils.c in Sources */ = {isa = PBXBuildFile; fileRef = A5CED894D560A786B06DE6D4 /* wren_utils.c */; };
|
||||
B9CCD11CEBC61BCE65A5575C /* wren_core.c in Sources */ = {isa = PBXBuildFile; fileRef = A24154A4F8CEBF16D147D2E4 /* wren_core.c */; };
|
||||
D1029E9FB01FB8D18C2914DF /* wren_opt_meta.c in Sources */ = {isa = PBXBuildFile; fileRef = 62592227F4E6EC195DBF9067 /* wren_opt_meta.c */; };
|
||||
E1DB0F647751CE96E5EE25A4 /* wren_value.c in Sources */ = {isa = PBXBuildFile; fileRef = AD30296CDCC1F85EB7CF37AC /* wren_value.c */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
14FE11AE703F65204399AFEE /* wren_common.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_common.h; path = ../../src/vm/wren_common.h; sourceTree = "<group>"; };
|
||||
27B7A19221795E045B785FD2 /* wren_compiler.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_compiler.h; path = ../../src/vm/wren_compiler.h; sourceTree = "<group>"; };
|
||||
39C26800695436F244617640 /* wren_debug.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_debug.c; path = ../../src/vm/wren_debug.c; sourceTree = "<group>"; };
|
||||
44AC34EA743E03DC4F4B432A /* wren_debug.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_debug.h; path = ../../src/vm/wren_debug.h; sourceTree = "<group>"; };
|
||||
4BF57B22455B7C9438F6D962 /* wren_vm.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_vm.h; path = ../../src/vm/wren_vm.h; sourceTree = "<group>"; };
|
||||
62592227F4E6EC195DBF9067 /* wren_opt_meta.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_opt_meta.c; path = ../../src/optional/wren_opt_meta.c; sourceTree = "<group>"; };
|
||||
6F616124E0840216964AAF64 /* wren_primitive.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_primitive.c; path = ../../src/vm/wren_primitive.c; sourceTree = "<group>"; };
|
||||
737815DBCADD88CD7CEBA41B /* wren_opt_random.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_opt_random.c; path = ../../src/optional/wren_opt_random.c; sourceTree = "<group>"; };
|
||||
7BB4B776AC98AF68BFB0E5B6 /* wren_opcodes.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opcodes.h; path = ../../src/vm/wren_opcodes.h; sourceTree = "<group>"; };
|
||||
89E69C5EA0F937909115329E /* libwren.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; name = libwren.dylib; path = libwren.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
8BA7E8EEE2355360BAAE672E /* wren_core.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_core.h; path = ../../src/vm/wren_core.h; sourceTree = "<group>"; };
|
||||
A24154A4F8CEBF16D147D2E4 /* wren_core.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_core.c; path = ../../src/vm/wren_core.c; sourceTree = "<group>"; };
|
||||
A5CED894D560A786B06DE6D4 /* wren_utils.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_utils.c; path = ../../src/vm/wren_utils.c; sourceTree = "<group>"; };
|
||||
AAEE79A50253EC97B46207E5 /* wren_opt_random.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opt_random.h; path = ../../src/optional/wren_opt_random.h; sourceTree = "<group>"; };
|
||||
AD30296CDCC1F85EB7CF37AC /* wren_value.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_value.c; path = ../../src/vm/wren_value.c; sourceTree = "<group>"; };
|
||||
B0B8A57EE04A7470BB57B3BE /* wren_utils.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_utils.h; path = ../../src/vm/wren_utils.h; sourceTree = "<group>"; };
|
||||
B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_vm.c; path = ../../src/vm/wren_vm.c; sourceTree = "<group>"; };
|
||||
B819F656E7ABC548C2B90496 /* wren_value.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_value.h; path = ../../src/vm/wren_value.h; sourceTree = "<group>"; };
|
||||
B8CA70B14B583AA3B430DEF1 /* wren_opt_meta.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_opt_meta.h; path = ../../src/optional/wren_opt_meta.h; sourceTree = "<group>"; };
|
||||
C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = wren_compiler.c; path = ../../src/vm/wren_compiler.c; sourceTree = "<group>"; };
|
||||
ECE6D43F03F96F71F4156A7F /* wren.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren.h; path = ../../src/include/wren.h; sourceTree = "<group>"; };
|
||||
FCC7D88E6DEA798023B126CE /* wren_primitive.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = wren_primitive.h; path = ../../src/vm/wren_primitive.h; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
7D2D12CE809DE500020A890E /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
046BC81407DC9A4689493E54 /* optional */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
62592227F4E6EC195DBF9067 /* wren_opt_meta.c */,
|
||||
B8CA70B14B583AA3B430DEF1 /* wren_opt_meta.h */,
|
||||
737815DBCADD88CD7CEBA41B /* wren_opt_random.c */,
|
||||
AAEE79A50253EC97B46207E5 /* wren_opt_random.h */,
|
||||
);
|
||||
name = optional;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
5E8C725002DF100215175890 /* include */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
ECE6D43F03F96F71F4156A7F /* wren.h */,
|
||||
);
|
||||
name = include;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
7E4BAA0E72C22140C195C04E /* vm */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
14FE11AE703F65204399AFEE /* wren_common.h */,
|
||||
C5FFB2C8BFC16F3AF9C07108 /* wren_compiler.c */,
|
||||
27B7A19221795E045B785FD2 /* wren_compiler.h */,
|
||||
A24154A4F8CEBF16D147D2E4 /* wren_core.c */,
|
||||
8BA7E8EEE2355360BAAE672E /* wren_core.h */,
|
||||
39C26800695436F244617640 /* wren_debug.c */,
|
||||
44AC34EA743E03DC4F4B432A /* wren_debug.h */,
|
||||
7BB4B776AC98AF68BFB0E5B6 /* wren_opcodes.h */,
|
||||
6F616124E0840216964AAF64 /* wren_primitive.c */,
|
||||
FCC7D88E6DEA798023B126CE /* wren_primitive.h */,
|
||||
A5CED894D560A786B06DE6D4 /* wren_utils.c */,
|
||||
B0B8A57EE04A7470BB57B3BE /* wren_utils.h */,
|
||||
AD30296CDCC1F85EB7CF37AC /* wren_value.c */,
|
||||
B819F656E7ABC548C2B90496 /* wren_value.h */,
|
||||
B65A1C18AFC01D8AA35B7A58 /* wren_vm.c */,
|
||||
4BF57B22455B7C9438F6D962 /* wren_vm.h */,
|
||||
);
|
||||
name = vm;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
89E69C5EA0F937909115329E /* libwren.dylib */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
D82C1CD2423E9EC4DB698B12 /* wren_shared */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
5E8C725002DF100215175890 /* include */,
|
||||
046BC81407DC9A4689493E54 /* optional */,
|
||||
7E4BAA0E72C22140C195C04E /* vm */,
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */,
|
||||
);
|
||||
name = wren_shared;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
CFFD6084D0B05D7644922EC4 /* wren_shared */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 6B685B2D6ED92D5FF045D16D /* Build configuration list for PBXNativeTarget "wren_shared" */;
|
||||
buildPhases = (
|
||||
ED14936EF08565A071F209AE /* Resources */,
|
||||
56C1ACC55A327EF7DB9F2305 /* Sources */,
|
||||
7D2D12CE809DE500020A890E /* Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
);
|
||||
name = wren_shared;
|
||||
productName = wren_shared;
|
||||
productReference = 89E69C5EA0F937909115329E /* libwren.dylib */;
|
||||
productType = "com.apple.product-type.library.dynamic";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
08FB7793FE84155DC02AAC07 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren_shared" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = D82C1CD2423E9EC4DB698B12 /* wren_shared */;
|
||||
projectDirPath = "";
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
CFFD6084D0B05D7644922EC4 /* libwren.dylib */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
ED14936EF08565A071F209AE /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
56C1ACC55A327EF7DB9F2305 /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
D1029E9FB01FB8D18C2914DF /* wren_opt_meta.c in Sources */,
|
||||
032ED59302D1B8C53D266BD3 /* wren_opt_random.c in Sources */,
|
||||
76585F8088823C32BC7325C0 /* wren_compiler.c in Sources */,
|
||||
B9CCD11CEBC61BCE65A5575C /* wren_core.c in Sources */,
|
||||
20773D38B5EDFC6A248A5378 /* wren_debug.c in Sources */,
|
||||
76CC0A9CBADFDBCEAEB160DC /* wren_primitive.c in Sources */,
|
||||
8D5FBD0C22D67C3E9172D34C /* wren_utils.c in Sources */,
|
||||
E1DB0F647751CE96E5EE25A4 /* wren_value.c in Sources */,
|
||||
7FA807D04313C98281B76E10 /* wren_vm.c in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
9328E01B361706CDC53CE65B /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_OPTIMIZATION_LEVEL = 3;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
NDEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Release/wren_shared";
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
SYMROOT = ../../lib;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
../../src/vm,
|
||||
../../src/optional,
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
CB419B73ED0D48A529C271B3 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../lib;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
EXECUTABLE_PREFIX = lib;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/lib;
|
||||
PRODUCT_NAME = wren_d;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
E8D95F2DAC4520DFEAE8C56D /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../lib;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
EXECUTABLE_PREFIX = lib;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/lib;
|
||||
PRODUCT_NAME = wren;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
F95419A1FCC4EBD37E318FE1 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
DEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Debug/wren_shared";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SYMROOT = ../../lib;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
../../src/vm,
|
||||
../../src/optional,
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren_shared" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
9328E01B361706CDC53CE65B /* Release */,
|
||||
9328E01B361706CDC53CE65B /* Release */,
|
||||
9328E01B361706CDC53CE65B /* Release */,
|
||||
F95419A1FCC4EBD37E318FE1 /* Debug */,
|
||||
F95419A1FCC4EBD37E318FE1 /* Debug */,
|
||||
F95419A1FCC4EBD37E318FE1 /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
6B685B2D6ED92D5FF045D16D /* Build configuration list for PBXNativeTarget "libwren.dylib" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
E8D95F2DAC4520DFEAE8C56D /* Release */,
|
||||
E8D95F2DAC4520DFEAE8C56D /* Release */,
|
||||
E8D95F2DAC4520DFEAE8C56D /* Release */,
|
||||
CB419B73ED0D48A529C271B3 /* Debug */,
|
||||
CB419B73ED0D48A529C271B3 /* Debug */,
|
||||
CB419B73ED0D48A529C271B3 /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
|
||||
}
|
||||
391
projects/xcode/wren_test.xcodeproj/project.pbxproj
Normal file
391
projects/xcode/wren_test.xcodeproj/project.pbxproj
Normal file
@ -0,0 +1,391 @@
|
||||
// !$*UTF8*$!
|
||||
{
|
||||
archiveVersion = 1;
|
||||
classes = {
|
||||
};
|
||||
objectVersion = 46;
|
||||
objects = {
|
||||
|
||||
/* Begin PBXBuildFile section */
|
||||
134AABB542DC7AA71DE9B9F5 /* slots.c in Sources */ = {isa = PBXBuildFile; fileRef = 33526D1DD64093CF6566735D /* slots.c */; };
|
||||
181D16496F82893B2190A489 /* foreign_class.c in Sources */ = {isa = PBXBuildFile; fileRef = 8A4FC471BC490F2336284AB1 /* foreign_class.c */; };
|
||||
1C5491694BE6605B26F39FA9 /* lists.c in Sources */ = {isa = PBXBuildFile; fileRef = 41058591E3F3AC4373198BD1 /* lists.c */; };
|
||||
29C70EE3850862555862AD23 /* new_vm.c in Sources */ = {isa = PBXBuildFile; fileRef = C22EBF6BD9415A9DC95D55AB /* new_vm.c */; };
|
||||
31D07E222B367F941ED1DC62 /* test.c in Sources */ = {isa = PBXBuildFile; fileRef = 7B2F762A1E7AFF5C394BCC6A /* test.c */; };
|
||||
47E53E839E72A8F576EBBCC3 /* call.c in Sources */ = {isa = PBXBuildFile; fileRef = 2F776B0B32E83D3DB454E14B /* call.c */; };
|
||||
4D8AE463A8CC37D57C2682A3 /* handle.c in Sources */ = {isa = PBXBuildFile; fileRef = 069BFCEB1DAE981D0DCA932B /* handle.c */; };
|
||||
59615B339DB000A5DFD73973 /* resolution.c in Sources */ = {isa = PBXBuildFile; fileRef = 535262BB751E0FEDB1D338FB /* resolution.c */; };
|
||||
78667B8C71CC7CFE6567D9CC /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 6E0F7DF4115B07262C2BD434 /* main.c */; };
|
||||
7CCD7163EDF01255A3B6BFA3 /* api_tests.c in Sources */ = {isa = PBXBuildFile; fileRef = 21B810EB49F2C99D318E572B /* api_tests.c */; };
|
||||
8F510F77A173C5697A74FDB7 /* reset_stack_after_foreign_construct.c in Sources */ = {isa = PBXBuildFile; fileRef = 310165BFD4689371EB9E4BFF /* reset_stack_after_foreign_construct.c */; };
|
||||
A9B950DFD94B1FD1B4585F1F /* error.c in Sources */ = {isa = PBXBuildFile; fileRef = F961FEA79C5025592B7604E7 /* error.c */; };
|
||||
AA2E14D19E2D5E4323187311 /* call_calls_foreign.c in Sources */ = {isa = PBXBuildFile; fileRef = 93074179D71B12ABCAEC97B9 /* call_calls_foreign.c */; };
|
||||
BD0CC4E181C21B533630C321 /* reset_stack_after_call_abort.c in Sources */ = {isa = PBXBuildFile; fileRef = B1B12E89FA506CBB1D7C24C9 /* reset_stack_after_call_abort.c */; };
|
||||
D43547E14557E8D3FB1E9621 /* benchmark.c in Sources */ = {isa = PBXBuildFile; fileRef = 50338489786E3D3B6009CAC9 /* benchmark.c */; };
|
||||
DA534BB5CB4AB9A7374E39F5 /* call_wren_call_root.c in Sources */ = {isa = PBXBuildFile; fileRef = F9C7671D92144CCFC05B4D5D /* call_wren_call_root.c */; };
|
||||
DAAEBD7B4BD15E6D01980BBB /* user_data.c in Sources */ = {isa = PBXBuildFile; fileRef = B0175F83D8521835BFEDA5C3 /* user_data.c */; };
|
||||
E21864B54F40732750D362F5 /* get_variable.c in Sources */ = {isa = PBXBuildFile; fileRef = 1270B31D5FD3A94FD5F2A95D /* get_variable.c */; };
|
||||
F97FE7C03DCE8D327FF5C600 /* libwren.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F5D0B9A8179C66DA54518FE8 /* libwren.a */; };
|
||||
/* End PBXBuildFile section */
|
||||
|
||||
/* Begin PBXContainerItemProxy section */
|
||||
A06CA0BEC692D0702D99C6FE /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */;
|
||||
proxyType = 2;
|
||||
remoteGlobalIDString = 49DA870B4D4B593DCEB7FD4B;
|
||||
remoteInfo = libwren.a;
|
||||
};
|
||||
F2A7135718CD43097FD43997 /* PBXContainerItemProxy */ = {
|
||||
isa = PBXContainerItemProxy;
|
||||
containerPortal = DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */;
|
||||
proxyType = 1;
|
||||
remoteGlobalIDString = FC9829912B3E7D83847FD7D1;
|
||||
remoteInfo = libwren.a;
|
||||
};
|
||||
/* End PBXContainerItemProxy section */
|
||||
|
||||
/* Begin PBXFileReference section */
|
||||
069BFCEB1DAE981D0DCA932B /* handle.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = handle.c; path = ../../test/api/handle.c; sourceTree = "<group>"; };
|
||||
0A1D5C440D8E2E768EFAD284 /* wren_test */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; name = wren_test; path = wren_test; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
1270B31D5FD3A94FD5F2A95D /* get_variable.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = get_variable.c; path = ../../test/api/get_variable.c; sourceTree = "<group>"; };
|
||||
13133647AB601BF9D9A71C87 /* call_wren_call_root.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = call_wren_call_root.h; path = ../../test/api/call_wren_call_root.h; sourceTree = "<group>"; };
|
||||
17B63BDB49AF868DC38EC21B /* foreign_class.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = foreign_class.h; path = ../../test/api/foreign_class.h; sourceTree = "<group>"; };
|
||||
21B810EB49F2C99D318E572B /* api_tests.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = api_tests.c; path = ../../test/api/api_tests.c; sourceTree = "<group>"; };
|
||||
2CA1DDD554DC96873C782415 /* api_tests.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = api_tests.h; path = ../../test/api/api_tests.h; sourceTree = "<group>"; };
|
||||
2F776B0B32E83D3DB454E14B /* call.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = call.c; path = ../../test/api/call.c; sourceTree = "<group>"; };
|
||||
3070CF87D35EF6396284D5C7 /* slots.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = slots.h; path = ../../test/api/slots.h; sourceTree = "<group>"; };
|
||||
30E3DEE9D44B0C9BEB80C529 /* reset_stack_after_foreign_construct.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = reset_stack_after_foreign_construct.h; path = ../../test/api/reset_stack_after_foreign_construct.h; sourceTree = "<group>"; };
|
||||
310165BFD4689371EB9E4BFF /* reset_stack_after_foreign_construct.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = reset_stack_after_foreign_construct.c; path = ../../test/api/reset_stack_after_foreign_construct.c; sourceTree = "<group>"; };
|
||||
33526D1DD64093CF6566735D /* slots.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = slots.c; path = ../../test/api/slots.c; sourceTree = "<group>"; };
|
||||
3E23E7FBE1120EAD7037EE3B /* lists.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = lists.h; path = ../../test/api/lists.h; sourceTree = "<group>"; };
|
||||
41058591E3F3AC4373198BD1 /* lists.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = lists.c; path = ../../test/api/lists.c; sourceTree = "<group>"; };
|
||||
50338489786E3D3B6009CAC9 /* benchmark.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = benchmark.c; path = ../../test/api/benchmark.c; sourceTree = "<group>"; };
|
||||
535262BB751E0FEDB1D338FB /* resolution.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = resolution.c; path = ../../test/api/resolution.c; sourceTree = "<group>"; };
|
||||
57CA1E756EDCB9A75EF8B4B5 /* new_vm.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = new_vm.h; path = ../../test/api/new_vm.h; sourceTree = "<group>"; };
|
||||
5B1D517383580A256AF397B3 /* benchmark.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = benchmark.h; path = ../../test/api/benchmark.h; sourceTree = "<group>"; };
|
||||
6E0F7DF4115B07262C2BD434 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = main.c; path = ../../test/main.c; sourceTree = "<group>"; };
|
||||
7428A1E7C18B981937AA9827 /* get_variable.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = get_variable.h; path = ../../test/api/get_variable.h; sourceTree = "<group>"; };
|
||||
7B2F762A1E7AFF5C394BCC6A /* test.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = test.c; path = ../../test/test.c; sourceTree = "<group>"; };
|
||||
7C8B0753C52A4585E855FD93 /* reset_stack_after_call_abort.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = reset_stack_after_call_abort.h; path = ../../test/api/reset_stack_after_call_abort.h; sourceTree = "<group>"; };
|
||||
8A4FC471BC490F2336284AB1 /* foreign_class.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = foreign_class.c; path = ../../test/api/foreign_class.c; sourceTree = "<group>"; };
|
||||
93074179D71B12ABCAEC97B9 /* call_calls_foreign.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = call_calls_foreign.c; path = ../../test/api/call_calls_foreign.c; sourceTree = "<group>"; };
|
||||
9C375BF5B349F727A365F235 /* handle.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = handle.h; path = ../../test/api/handle.h; sourceTree = "<group>"; };
|
||||
A415E4D5A786B70728F35B15 /* call.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = call.h; path = ../../test/api/call.h; sourceTree = "<group>"; };
|
||||
ABEF15744F3A9EA66A0B6BB4 /* test.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = test.h; path = ../../test/test.h; sourceTree = "<group>"; };
|
||||
B0175F83D8521835BFEDA5C3 /* user_data.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = user_data.c; path = ../../test/api/user_data.c; sourceTree = "<group>"; };
|
||||
B0267C45D1F229770EA75285 /* resolution.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = resolution.h; path = ../../test/api/resolution.h; sourceTree = "<group>"; };
|
||||
B1B12E89FA506CBB1D7C24C9 /* reset_stack_after_call_abort.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = reset_stack_after_call_abort.c; path = ../../test/api/reset_stack_after_call_abort.c; sourceTree = "<group>"; };
|
||||
BB012C6DE33BE51FCAD772AD /* user_data.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = user_data.h; path = ../../test/api/user_data.h; sourceTree = "<group>"; };
|
||||
C22EBF6BD9415A9DC95D55AB /* new_vm.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = new_vm.c; path = ../../test/api/new_vm.c; sourceTree = "<group>"; };
|
||||
DA66CE78FC327BAA38E7A4B8 /* libwren.a */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = "wren.xcodeproj"; path = wren.xcodeproj; sourceTree = SOURCE_ROOT; };
|
||||
E97890032D8C6135215DE643 /* call_calls_foreign.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = call_calls_foreign.h; path = ../../test/api/call_calls_foreign.h; sourceTree = "<group>"; };
|
||||
F6806111996E87C328946751 /* error.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = error.h; path = ../../test/api/error.h; sourceTree = "<group>"; };
|
||||
F961FEA79C5025592B7604E7 /* error.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = error.c; path = ../../test/api/error.c; sourceTree = "<group>"; };
|
||||
F9C7671D92144CCFC05B4D5D /* call_wren_call_root.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; name = call_wren_call_root.c; path = ../../test/api/call_wren_call_root.c; sourceTree = "<group>"; };
|
||||
/* End PBXFileReference section */
|
||||
|
||||
/* Begin PBXFrameworksBuildPhase section */
|
||||
1823CFB4BB6F58E6D64025F4 /* Frameworks */ = {
|
||||
isa = PBXFrameworksBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
F97FE7C03DCE8D327FF5C600 /* libwren.a in Frameworks */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
216C0E3E1AD20FB00E6D6C7E /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
F5D0B9A8179C66DA54518FE8 /* libwren.a */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
4611E03C3202EBEE843A867C /* api */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
21B810EB49F2C99D318E572B /* api_tests.c */,
|
||||
2CA1DDD554DC96873C782415 /* api_tests.h */,
|
||||
50338489786E3D3B6009CAC9 /* benchmark.c */,
|
||||
5B1D517383580A256AF397B3 /* benchmark.h */,
|
||||
2F776B0B32E83D3DB454E14B /* call.c */,
|
||||
A415E4D5A786B70728F35B15 /* call.h */,
|
||||
93074179D71B12ABCAEC97B9 /* call_calls_foreign.c */,
|
||||
E97890032D8C6135215DE643 /* call_calls_foreign.h */,
|
||||
F9C7671D92144CCFC05B4D5D /* call_wren_call_root.c */,
|
||||
13133647AB601BF9D9A71C87 /* call_wren_call_root.h */,
|
||||
F961FEA79C5025592B7604E7 /* error.c */,
|
||||
F6806111996E87C328946751 /* error.h */,
|
||||
8A4FC471BC490F2336284AB1 /* foreign_class.c */,
|
||||
17B63BDB49AF868DC38EC21B /* foreign_class.h */,
|
||||
1270B31D5FD3A94FD5F2A95D /* get_variable.c */,
|
||||
7428A1E7C18B981937AA9827 /* get_variable.h */,
|
||||
069BFCEB1DAE981D0DCA932B /* handle.c */,
|
||||
9C375BF5B349F727A365F235 /* handle.h */,
|
||||
41058591E3F3AC4373198BD1 /* lists.c */,
|
||||
3E23E7FBE1120EAD7037EE3B /* lists.h */,
|
||||
C22EBF6BD9415A9DC95D55AB /* new_vm.c */,
|
||||
57CA1E756EDCB9A75EF8B4B5 /* new_vm.h */,
|
||||
B1B12E89FA506CBB1D7C24C9 /* reset_stack_after_call_abort.c */,
|
||||
7C8B0753C52A4585E855FD93 /* reset_stack_after_call_abort.h */,
|
||||
310165BFD4689371EB9E4BFF /* reset_stack_after_foreign_construct.c */,
|
||||
30E3DEE9D44B0C9BEB80C529 /* reset_stack_after_foreign_construct.h */,
|
||||
535262BB751E0FEDB1D338FB /* resolution.c */,
|
||||
B0267C45D1F229770EA75285 /* resolution.h */,
|
||||
33526D1DD64093CF6566735D /* slots.c */,
|
||||
3070CF87D35EF6396284D5C7 /* slots.h */,
|
||||
B0175F83D8521835BFEDA5C3 /* user_data.c */,
|
||||
BB012C6DE33BE51FCAD772AD /* user_data.h */,
|
||||
);
|
||||
name = api;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
9D968EAA920D05DCE0E0A4EA /* Projects */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */,
|
||||
DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */,
|
||||
);
|
||||
name = Projects;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
0A1D5C440D8E2E768EFAD284 /* wren_test */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
BA74099B3DB9670D6700E7DB /* wren_test */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
4611E03C3202EBEE843A867C /* api */,
|
||||
6E0F7DF4115B07262C2BD434 /* main.c */,
|
||||
7B2F762A1E7AFF5C394BCC6A /* test.c */,
|
||||
ABEF15744F3A9EA66A0B6BB4 /* test.h */,
|
||||
A6C936B49B3FADE6EA134CF4 /* Products */,
|
||||
9D968EAA920D05DCE0E0A4EA /* Projects */,
|
||||
);
|
||||
name = wren_test;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
/* End PBXGroup section */
|
||||
|
||||
/* Begin PBXNativeTarget section */
|
||||
76C8BBAAA56F0F9CFEB069EA /* wren_test */ = {
|
||||
isa = PBXNativeTarget;
|
||||
buildConfigurationList = 065F1813A9AAA145C47B6E53 /* Build configuration list for PBXNativeTarget "wren_test" */;
|
||||
buildPhases = (
|
||||
880B50542B56D9864627A694 /* Resources */,
|
||||
F1B869AB9503F2DDAFD4BFEB /* Sources */,
|
||||
1823CFB4BB6F58E6D64025F4 /* Frameworks */,
|
||||
);
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
0F244B47088A4CB9FC25A987 /* PBXTargetDependency */,
|
||||
0F244B47088A4CB9FC25A987 /* PBXTargetDependency */,
|
||||
);
|
||||
name = wren_test;
|
||||
productInstallPath = "$(HOME)/bin";
|
||||
productName = wren_test;
|
||||
productReference = 0A1D5C440D8E2E768EFAD284 /* wren_test */;
|
||||
productType = "com.apple.product-type.tool";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
||||
/* Begin PBXProject section */
|
||||
08FB7793FE84155DC02AAC07 /* Project object */ = {
|
||||
isa = PBXProject;
|
||||
buildConfigurationList = 1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren_test" */;
|
||||
compatibilityVersion = "Xcode 3.2";
|
||||
hasScannedForEncodings = 1;
|
||||
mainGroup = BA74099B3DB9670D6700E7DB /* wren_test */;
|
||||
projectDirPath = "";
|
||||
projectReferences = (
|
||||
{
|
||||
ProductGroup = 216C0E3E1AD20FB00E6D6C7E /* Products */;
|
||||
ProjectRef = DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */;
|
||||
},
|
||||
{
|
||||
ProductGroup = 216C0E3E1AD20FB00E6D6C7E /* Products */;
|
||||
ProjectRef = DA66CE78FC327BAA38E7A4B8 /* wren.xcodeproj */;
|
||||
},
|
||||
);
|
||||
projectRoot = "";
|
||||
targets = (
|
||||
76C8BBAAA56F0F9CFEB069EA /* wren_test */,
|
||||
);
|
||||
};
|
||||
/* End PBXProject section */
|
||||
|
||||
/* Begin PBXReferenceProxy section */
|
||||
F5D0B9A8179C66DA54518FE8 /* libwren.a */ = {
|
||||
isa = PBXReferenceProxy;
|
||||
fileType = archive.ar;
|
||||
path = libwren.a;
|
||||
remoteRef = A06CA0BEC692D0702D99C6FE /* PBXContainerItemProxy */;
|
||||
sourceTree = BUILT_PRODUCTS_DIR;
|
||||
};
|
||||
/* End PBXReferenceProxy section */
|
||||
|
||||
/* Begin PBXResourcesBuildPhase section */
|
||||
880B50542B56D9864627A694 /* Resources */ = {
|
||||
isa = PBXResourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXResourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXSourcesBuildPhase section */
|
||||
F1B869AB9503F2DDAFD4BFEB /* Sources */ = {
|
||||
isa = PBXSourcesBuildPhase;
|
||||
buildActionMask = 2147483647;
|
||||
files = (
|
||||
7CCD7163EDF01255A3B6BFA3 /* api_tests.c in Sources */,
|
||||
D43547E14557E8D3FB1E9621 /* benchmark.c in Sources */,
|
||||
47E53E839E72A8F576EBBCC3 /* call.c in Sources */,
|
||||
AA2E14D19E2D5E4323187311 /* call_calls_foreign.c in Sources */,
|
||||
DA534BB5CB4AB9A7374E39F5 /* call_wren_call_root.c in Sources */,
|
||||
A9B950DFD94B1FD1B4585F1F /* error.c in Sources */,
|
||||
181D16496F82893B2190A489 /* foreign_class.c in Sources */,
|
||||
E21864B54F40732750D362F5 /* get_variable.c in Sources */,
|
||||
4D8AE463A8CC37D57C2682A3 /* handle.c in Sources */,
|
||||
1C5491694BE6605B26F39FA9 /* lists.c in Sources */,
|
||||
29C70EE3850862555862AD23 /* new_vm.c in Sources */,
|
||||
BD0CC4E181C21B533630C321 /* reset_stack_after_call_abort.c in Sources */,
|
||||
8F510F77A173C5697A74FDB7 /* reset_stack_after_foreign_construct.c in Sources */,
|
||||
59615B339DB000A5DFD73973 /* resolution.c in Sources */,
|
||||
134AABB542DC7AA71DE9B9F5 /* slots.c in Sources */,
|
||||
DAAEBD7B4BD15E6D01980BBB /* user_data.c in Sources */,
|
||||
78667B8C71CC7CFE6567D9CC /* main.c in Sources */,
|
||||
31D07E222B367F941ED1DC62 /* test.c in Sources */,
|
||||
);
|
||||
runOnlyForDeploymentPostprocessing = 0;
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
0F244B47088A4CB9FC25A987 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
name = libwren.a;
|
||||
targetProxy = F2A7135718CD43097FD43997 /* PBXContainerItemProxy */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin PBXVariantGroup section */
|
||||
/* End PBXVariantGroup section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
4591788AE9E4163CFC1C5ECA /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_ENABLE_FIX_AND_CONTINUE = YES;
|
||||
GCC_OPTIMIZATION_LEVEL = 0;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
DEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Debug/wren_test";
|
||||
ONLY_ACTIVE_ARCH = YES;
|
||||
SYMROOT = ../../bin;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
);
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
A115B693C9506F45B0EBFCD3 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../bin;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/bin;
|
||||
PRODUCT_NAME = wren_test;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
A194E159EA05C58B2EA49799 /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||
CONFIGURATION_BUILD_DIR = ../../bin;
|
||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
INSTALL_PATH = /usr/local/bin;
|
||||
PRODUCT_NAME = wren_test_d;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
E4399D44E7AA6F7669171384 /* Release */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)";
|
||||
CONFIGURATION_TEMP_DIR = "$(OBJROOT)";
|
||||
GCC_C_LANGUAGE_STANDARD = c99;
|
||||
GCC_OPTIMIZATION_LEVEL = 3;
|
||||
GCC_PREPROCESSOR_DEFINITIONS = (
|
||||
NDEBUG,
|
||||
"WREN_NAN_TAGGING=0",
|
||||
);
|
||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||
OBJROOT = "obj/64bit-no-nan-tagging/Release/wren_test";
|
||||
ONLY_ACTIVE_ARCH = NO;
|
||||
SYMROOT = ../../bin;
|
||||
USER_HEADER_SEARCH_PATHS = (
|
||||
../../src/include,
|
||||
);
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
/* End XCBuildConfiguration section */
|
||||
|
||||
/* Begin XCConfigurationList section */
|
||||
065F1813A9AAA145C47B6E53 /* Build configuration list for PBXNativeTarget "wren_test" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
A115B693C9506F45B0EBFCD3 /* Release */,
|
||||
A115B693C9506F45B0EBFCD3 /* Release */,
|
||||
A115B693C9506F45B0EBFCD3 /* Release */,
|
||||
A194E159EA05C58B2EA49799 /* Debug */,
|
||||
A194E159EA05C58B2EA49799 /* Debug */,
|
||||
A194E159EA05C58B2EA49799 /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
1DEB928908733DD80010E9CD /* Build configuration list for PBXProject "wren_test" */ = {
|
||||
isa = XCConfigurationList;
|
||||
buildConfigurations = (
|
||||
E4399D44E7AA6F7669171384 /* Release */,
|
||||
E4399D44E7AA6F7669171384 /* Release */,
|
||||
E4399D44E7AA6F7669171384 /* Release */,
|
||||
4591788AE9E4163CFC1C5ECA /* Debug */,
|
||||
4591788AE9E4163CFC1C5ECA /* Debug */,
|
||||
4591788AE9E4163CFC1C5ECA /* Debug */,
|
||||
);
|
||||
defaultConfigurationIsVisible = 0;
|
||||
defaultConfigurationName = Release;
|
||||
};
|
||||
/* End XCConfigurationList section */
|
||||
};
|
||||
rootObject = 08FB7793FE84155DC02AAC07 /* Project object */;
|
||||
}
|
||||
Reference in New Issue
Block a user