Remove Visual Studio .sln and .vcxproj generation

This commit is contained in:
Mylloon 2022-05-15 21:31:56 +02:00
parent aba153c8f4
commit 75a543966a
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -22,11 +22,9 @@ VERSION = 1.0
distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION) distdir = $(PACKNAME)_$(PROGNAME)-$(VERSION)
HEADERS = $(wildcard includes/*.h) HEADERS = $(wildcard includes/*.h)
SOURCES = window.c $(wildcard src/*.c) SOURCES = window.c $(wildcard src/*.c)
MSVCSRC = $(patsubst %,<ClCompile Include=\"%\\\" \\/>,$(SOURCES))
OBJ = $(SOURCES:.c=.o) OBJ = $(SOURCES:.c=.o)
DOXYFILE = documentation/Doxyfile DOXYFILE = documentation/Doxyfile
VSCFILES = $(PROGNAME).vcxproj $(PROGNAME).sln EXTRAFILES = COPYING $(wildcard shaders/*.?s images/*)
EXTRAFILES = COPYING $(wildcard shaders/*.?s images/*) $(VSCFILES)
DISTFILES = $(SOURCES) Makefile $(HEADERS) $(DOXYFILE) $(EXTRAFILES) DISTFILES = $(SOURCES) Makefile $(HEADERS) $(DOXYFILE) $(EXTRAFILES)
# Traitements automatiques pour ajout des chemins et options # Traitements automatiques pour ajout des chemins et options
@ -89,12 +87,6 @@ doc: $(DOXYFILE)
mv -f $<.new $< mv -f $<.new $<
cd documentation && doxygen && cd .. cd documentation && doxygen && cd ..
msvc: $(VSCFILES)
@echo "Now these files ($?) already exist. If you wish to regenerate them, you should first delete them manually."
$(VSCFILES):
@echo "Generating $@ ..."
@cat ../../Windows/templates/gl4dSample$(suffix $@) | sed -e "s/INSERT_PROJECT_NAME/$(PROGNAME)/g" | sed -e "s/INSERT_TARGET_NAME/$(PROGNAME)/" | sed -e "s/INSERT_SOURCE_FILES/$(MSVCSRC)/" > $@
all: $(PROGNAME) all: $(PROGNAME)
clean: clean: