[cogl/cogl.msvc.new: 12/15] build: Drop the Visual Studio projects



commit e4c546854aa3be6147819eb990140c6d2b9e29bd
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 11 17:33:58 2019 +0800

    build: Drop the Visual Studio projects
    
    They have been superceded by the NMake Makefiles, which are more
    flexible and comprehensive.

 build/win32/Makefile.am                            |   3 -
 build/win32/vs10/Makefile.am                       |  34 -
 build/win32/vs10/README.txt                        |  89 ---
 build/win32/vs10/cogl-build-defines.props          |  61 --
 build/win32/vs10/cogl-crate.vcxproj                | 176 ------
 build/win32/vs10/cogl-crate.vcxproj.filters        |  14 -
 build/win32/vs10/cogl-gen-srcs.props               | 107 ----
 build/win32/vs10/cogl-hello.vcxproj                | 160 -----
 build/win32/vs10/cogl-hello.vcxproj.filters        |  14 -
 build/win32/vs10/cogl-info.vcxproj                 | 168 -----
 build/win32/vs10/cogl-info.vcxproj.filters         |  14 -
 build/win32/vs10/cogl-install.props                | 168 -----
 build/win32/vs10/cogl-install.vcxproj              | 217 -------
 build/win32/vs10/cogl-msaa.vcxproj                 | 169 -----
 build/win32/vs10/cogl-msaa.vcxproj.filters         |  14 -
 build/win32/vs10/cogl-pango.vcxproj.filtersin      |  19 -
 build/win32/vs10/cogl-pango.vcxprojin              | 210 -------
 build/win32/vs10/cogl-path.vcxproj.filtersin       |  25 -
 build/win32/vs10/cogl-path.vcxprojin               | 234 -------
 build/win32/vs10/cogl-sdl2-hello.vcxproj           | 173 -----
 build/win32/vs10/cogl-sdl2-hello.vcxproj.filters   |  14 -
 build/win32/vs10/cogl-version-paths.props          |  53 --
 build/win32/vs10/cogl.sln                          | 174 -----
 build/win32/vs10/cogl.vcxproj.filtersin            |  41 --
 build/win32/vs10/cogl.vcxprojin                    | 545 ----------------
 .../vs10/test-conformance-cogl.vcxproj.filtersin   |  13 -
 build/win32/vs10/test-conformance-cogl.vcxprojin   | 185 ------
 build/win32/vs9/Makefile.am                        |  21 -
 build/win32/vs9/README.txt                         |  95 ---
 build/win32/vs9/cogl-build-defines.vsprops         |  54 --
 build/win32/vs9/cogl-crate.vcproj                  | 161 -----
 build/win32/vs9/cogl-gen-srcs.vsprops              | 102 ---
 build/win32/vs9/cogl-hello.vcproj                  | 157 -----
 build/win32/vs9/cogl-info.vcproj                   | 157 -----
 build/win32/vs9/cogl-install.vcproj                | 143 -----
 build/win32/vs9/cogl-install.vsprops               | 148 -----
 build/win32/vs9/cogl-msaa.vcproj                   | 157 -----
 build/win32/vs9/cogl-pango.vcprojin                | 208 ------
 build/win32/vs9/cogl-path.vcprojin                 | 267 --------
 build/win32/vs9/cogl-sdl2-hello.vcproj             | 161 -----
 build/win32/vs9/cogl-version-paths.vsprops         |  53 --
 build/win32/vs9/cogl.sln                           | 208 ------
 build/win32/vs9/cogl.vcprojin                      | 698 ---------------------
 build/win32/vs9/test-conformance-cogl.vcprojin     | 166 -----
 cogl-pango/Makefile.am                             |  35 +-
 cogl-path/Makefile.am                              |  12 -
 cogl/Makefile.am                                   |  78 +--
 tests/conform/Makefile.am                          |  37 --
 48 files changed, 2 insertions(+), 6210 deletions(-)
---
diff --git a/cogl-pango/Makefile.am b/cogl-pango/Makefile.am
index 947766ab..72132cd0 100644
--- a/cogl-pango/Makefile.am
+++ b/cogl-pango/Makefile.am
@@ -47,42 +47,9 @@ pkgconfig_DATA = $(pc_files)
 
 EXTRA_DIST += cogl-pango.pc.in
 DISTCLEANFILES += $(pc_files)
-
-dist-hook: ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj 
../build/win32/vs10/cogl-pango.vcxproj.filters
-
-../build/win32/vs9/cogl-pango.vcproj: $(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin
-       for F in $(source_c); do \
-               case $$F in \
-               *.c)    echo '   <File RelativePath="..\..\..\cogl-pango\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >coglpango.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs9/cogl-pango.vcprojin >$@
-       rm coglpango.sourcefiles
-       
-../build/win32/vs10/cogl-pango.vcxproj: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin
-       for F in $(source_c); do \
-               case $$F in \
-               *.c)    echo '    <ClCompile Include="..\..\..\cogl-pango\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >coglpango.vs10.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxprojin >$@
-       rm coglpango.vs10.sourcefiles
-       
-../build/win32/vs10/cogl-pango.vcxproj.filters: $(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin
-       for F in $(source_c); do \
-               case $$F in \
-               *.c)    echo '    <ClCompile 
Include="..\..\..\cogl-pango\'$$F'"><Filter>Sources</Filter></ClCompile>' \
-                       ;; \
-               esac; \
-       done >coglpango.vs10.sourcefiles.filters
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl-pango.vcxproj.filtersin >$@
-       rm coglpango.vs10.sourcefiles.filters
-
 EXTRA_DIST += cogl-pango.rc.in cogl-pango.rc
 
-DISTCLEANFILES += ../build/win32/vs9/cogl-pango.vcproj ../build/win32/vs10/cogl-pango.vcxproj 
../build/win32/vs10/cogl-pango.vcxproj.filters cogl-pango.rc
+DISTCLEANFILES += cogl-pango.rc
 
 -include $(INTROSPECTION_MAKEFILE)
 
diff --git a/cogl-path/Makefile.am b/cogl-path/Makefile.am
index ebbd9762..5e3fe486 100644
--- a/cogl-path/Makefile.am
+++ b/cogl-path/Makefile.am
@@ -68,15 +68,3 @@ pkgconfig_DATA = $(pc_files)
 
 EXTRA_DIST += cogl-path.pc.in
 DISTCLEANFILES += $(pc_files)
-
-dist-hook:     \
-       $(top_builddir)/build/win32/vs9/cogl-path.vcproj        \
-       $(top_builddir)/build/win32/vs10/cogl-path.vcxproj      \
-       $(top_builddir)/build/win32/vs10/cogl-path.vcxproj.filters
-
-MSVC_PROJECT = cogl-path
-MSVC_PROJECT_SRCDIR = cogl-path
-MSVC_PROJECT_SRCS = $(source_c)
-MSVC_PROJECT_EXCLUDES = dummy
-
-include $(top_srcdir)/build/Makefile-msvcproj.mak
diff --git a/cogl/Makefile.am b/cogl/Makefile.am
index fdb3f099..70d7e1c2 100644
--- a/cogl/Makefile.am
+++ b/cogl/Makefile.am
@@ -219,82 +219,6 @@ nodist_coglinclude_HEADERS = $(cogl_nodist_experimental_h) cogl-defines.h $(COGL
 cogl_proto_includedir = $(includedir)/cogl/cogl/gl-prototypes
 cogl_proto_include_HEADERS = $(cogl_gl_prototypes_h)
 
-dist-hook: ../build/win32/vs9/cogl.vcproj ../build/win32/vs10/cogl.vcxproj 
../build/win32/vs10/cogl.vcxproj.filters ../build/win32/gen-enums.bat
-
-# I know those filters below don't look nice, but this is to ensure the right files are in the Project files 
only *once*
-../build/win32/vs9/cogl.vcproj: $(top_srcdir)/build/win32/vs9/cogl.vcprojin
-       for F in `echo $(cogl_sources_c) $(BUILT_SOURCES) | tr '/' '\\'`; do \
-               case $$F in \
-               *-egl.c|*-egl-*.c|*-glx.c|*-xlib*.c|*-x11.c|*.wgl.c|*-gl.c|*-gles.c|*-kms.c|*-sdl.c|*.h) ;; \
-               *.c)    echo '   <File RelativePath="..\..\..\cogl\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >cogl.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs9/cogl.vcprojin >$@
-       rm cogl.sourcefiles
-
-../build/win32/vs10/cogl.vcxproj: $(top_srcdir)/build/win32/vs10/cogl.vcxprojin
-       for F in `echo $(cogl_sources_c) $(BUILT_SOURCES) | tr '/' '\\'`; do \
-               case $$F in \
-               *-egl.c|*-egl-*.c|*-glx.c|*-xlib*.c|*-x11.c|*.wgl.c|*-gl.c|*-gles.c|*-kms.c|*-sdl.c|*.h) ;; \
-               *.c)    echo '    <ClCompile Include="..\..\..\cogl\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >cogl.vs10.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl.vcxprojin >$@
-       rm cogl.vs10.sourcefiles
-
-../build/win32/vs10/cogl.vcxproj.filters: $(top_srcdir)/build/win32/vs10/cogl.vcxproj.filtersin
-       for F in `echo $(cogl_sources_c) $(BUILT_SOURCES) | tr '/' '\\'`; do \
-               case $$F in \
-               *-egl.c|*-egl-*.c|*-glx.c|*-xlib*.c|*-x11.c|*.wgl.c|*-gl.c|*-gles.c|*-kms.c|*-sdl.c|*.h) ;; \
-               *.c)    echo '    <ClCompile 
Include="..\..\..\cogl\'$$F'"><Filter>Sources</Filter></ClCompile>' \
-                       ;; \
-               esac; \
-       done >cogl.vs10.sourcefiles.filters
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/cogl.vcxproj.filtersin >$@
-       rm cogl.vs10.sourcefiles.filters
-
-cogl.vsenums_h:
-       echo 'perl %1\bin\glib-mkenums --template ../../cogl/cogl-enum-types.h.in ' >vsenums_h.temp1
-       for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \
-               case $$F in \
-               *xlib*.h|*wayland*.h) ;; \
-               *.h) echo '../../cogl'$$F' '    \
-                       ;;      \
-               esac;   \
-       done >>vsenums_h.temp1
-       cat vsenums_h.temp1 | sed 's_/cogl./_/cogl/_' >vsenums_h.temp
-       cat vsenums_h.temp | tr -d '\n' >>$@
-       echo '> ..\..\cogl\cogl-enum-types.h' >>$@
-       rm vsenums_h.temp1
-       rm vsenums_h.temp
-
-cogl.vsenums_c:
-       echo 'perl %1\bin\glib-mkenums --template ../../cogl/cogl-enum-types.c.in ' >vsenums_c.temp1
-       for F in `echo $(cogl_1_public_h) $(srcdir)/cogl-win32-renderer.h`; do \
-               case $$F in \
-               *xlib*.h|*wayland*.h) ;; \
-               *.h) echo '../../cogl'$$F' '    \
-                       ;;      \
-               esac;   \
-       done >>vsenums_c.temp1
-       cat vsenums_c.temp1 | sed 's_/cogl./_/cogl/_' >vsenums_c.temp
-       cat vsenums_c.temp | tr -d '\n' >>$@
-       echo '> ..\..\cogl\cogl-enum-types.c' >>$@
-       rm vsenums_c.temp1
-       rm vsenums_c.temp
-
-../build/win32/gen-enums.bat: cogl.vsenums_h cogl.vsenums_c
-       echo 'if exist ..\..\cogl\cogl-enum-types.h goto DONE_COGL_ENUMS_H' >$@
-       cat cogl.vsenums_h >>$@
-       echo ':DONE_COGL_ENUMS_H' >>$@
-       echo 'if exist ..\..\cogl\cogl-enum-types.c goto DONE_COGL_ENUMS_C' >>$@
-       cat cogl.vsenums_c >>$@
-       echo ':DONE_COGL_ENUMS_C' >>$@
-       rm cogl.vsenums_h
-       rm cogl.vsenums_c
-
 EXTRA_DIST += \
        cogl-defines.h.win32.in \
        cogl-defines.h.win32    \
@@ -305,7 +229,7 @@ EXTRA_DIST += \
        cogl.rc.in      \
        cogl.rc
 
-DISTCLEANFILES += ../build/win32/vs9/cogl.vcproj ../build/win32/vs10/cogl.vcxproj 
../build/win32/vs10/cogl.vcxproj.filters ../build/win32/gen-enums.bat cogl.rc
+DISTCLEANFILES += cogl.rc
 
 -include $(INTROSPECTION_MAKEFILE)
 
diff --git a/tests/conform/Makefile.am b/tests/conform/Makefile.am
index 5701b1bd..ed89ce89 100644
--- a/tests/conform/Makefile.am
+++ b/tests/conform/Makefile.am
@@ -103,43 +103,6 @@ TEST_PROGS = test-conformance
 
 DISTCLEANFILES = .gitignore
 
-dist-hook: ../../build/win32/vs9/test-conformance-cogl.vcproj 
../../build/win32/vs10/test-conformance-cogl.vcxproj 
../../build/win32/vs10/test-conformance-cogl.vcxproj.filters
-
-../../build/win32/vs9/test-conformance-cogl.vcproj: 
$(top_srcdir)/build/win32/vs9/test-conformance-cogl.vcprojin
-       for F in $(test_conformance_SOURCES); do \
-               case $$F in \
-               *.c)    echo '   <File RelativePath="..\..\..\tests\conform\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >testconformance.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs9/test-conformance-cogl.vcprojin >$@
-       rm testconformance.sourcefiles
-
-../../build/win32/vs10/test-conformance-cogl.vcxproj: 
$(top_srcdir)/build/win32/vs10/test-conformance-cogl.vcxprojin
-       for F in $(test_conformance_SOURCES); do \
-               case $$F in \
-               *.c)    echo '    <ClCompile Include="..\..\..\tests\conform\'$$F'" />' \
-                       ;; \
-               esac; \
-       done >testconformance.vs10.sourcefiles
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/test-conformance-cogl.vcxprojin >$@
-       rm testconformance.vs10.sourcefiles
-
-../../build/win32/vs10/test-conformance-cogl.vcxproj.filters: 
$(top_srcdir)/build/win32/vs10/test-conformance-cogl.vcxproj.filtersin
-       for F in $(test_conformance_SOURCES); do \
-               case $$F in \
-               *.c)    echo '    <ClCompile 
Include="..\..\..\tests\conform\'$$F'"><Filter>Sources</Filter></ClCompile>' \
-                       ;; \
-               esac; \
-       done >testconformance.vs10.sourcefiles.filters
-       $(CPP) -P - <$(top_srcdir)/build/win32/vs10/test-conformance-cogl.vcxproj.filtersin >$@
-       rm testconformance.vs10.sourcefiles.filters
-
-# Let the VS9/VS10 Project files be cleared out before they are re-expanded...
-DISTCLEANFILES += ../../build/win32/vs9/test-conformance-cogl.vcproj   \
-                 ../../build/win32/vs10/test-conformance-cogl.vcxproj  \
-                 ../../build/win32/vs10/test-conformance-cogl.vcxproj.filters
-
 # we override the clean-generic target to clean up the wrappers so
 # we cannot use CLEANFILES
 clean-generic: clean-wrappers


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]