"Fossies" - the Fresh Open Source Software Archive

Member "libsigc++-2.99.13/MSVC_NMake/Makefile.vc" (4 May 2019, 1603 Bytes) of package /linux/misc/libsigc++-2.99.13.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 # NMake Makefile for building libsigc++ on Windows using Visual Studio
    2 
    3 # The items below this line should not be changed, unless one is maintaining
    4 # the NMake Makefiles.  Customizations can be done in the following NMake Makefile
    5 # portions (please see comments in the these files to see what can be customized):
    6 #
    7 # detectenv-msvc.mak
    8 # config-msvc.mak
    9 
   10 !include detectenv-msvc.mak
   11 
   12 # Include the Makefile portions with the source listings
   13 !include ..\sigc++\filelist.am
   14 
   15 # Include the Makefile portion that enables features based on user input
   16 !include config-msvc.mak
   17 
   18 !if "$(VALID_CFGSET)" == "TRUE"
   19 
   20 # We need Visual Studio 2017 or later
   21 !if $(VSVER) < 15
   22 VALID_MSC = FALSE
   23 !else
   24 VALID_MSC = TRUE
   25 !endif
   26 
   27 !if $(VCVERSION) < 1915
   28 !message Some tests may fail to build for Visual Studio 2017 15.7 or earlier!
   29 !endif
   30 
   31 !if "$(VALID_MSC)" == "TRUE"
   32 
   33 # Include the Makefile portion to convert the source and header lists
   34 # into the lists we need for compilation and introspection
   35 !include create-lists-msvc.mak
   36 
   37 all: $(LIBSIGC_LIB) $(libsigc_ex) all-build-info
   38 
   39 tests: $(libsigc_tests) all-build-info
   40 
   41 benchmark: all $(libsigc_bench) all-build-info
   42 
   43 # Include the build rules for sources, DLLs and executables
   44 !include generate-msvc.mak
   45 !include build-rules-msvc.mak
   46 
   47 !include install.mak
   48 
   49 !else # "$(VALID_MSC)" == "TRUE"
   50 all:
   51 	@echo You need Visual Studio 2017 or later.
   52 
   53 !endif # "$(VALID_MSC)" == "TRUE"
   54 
   55 !else # "$(VALID_CFGSET)" == "TRUE"
   56 all: help
   57 	@echo You need to specify a valid configuration, via
   58 	@echo CFG=release or CFG=debug
   59 !endif # "$(VALID_CFGSET)" == "TRUE"
   60 
   61 !include info-msvc.mak