1 # NMake Makefile for building libsigc++ on Windows using Visual Studio
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):
10 !include detectenv-msvc.mak
12 # Include the Makefile portions with the source listings
13 !include ..\sigc++\filelist.am
15 # Include the Makefile portion that enables features based on user input
16 !include config-msvc.mak
18 !if "$(VALID_CFGSET)" == "TRUE"
20 # We need Visual Studio 2013 or later
27 !if "$(VALID_MSC)" == "TRUE"
29 !ifdef GENERATE_VERSIONED_FILES
34 all: $(LIBSIGC_LIB) examples all-build-info
36 # Include the Makefile portion to convert the source and header lists
37 # into the lists we need for compilation and introspection
38 !include create-lists-msvc.mak
40 examples: $(libsigc_examples)
42 tests: $(libsigc_tests) all-build-info
44 benchmark: all $(libsigc_benchmark) all-build-info
46 # Include the build rules for sources, DLLs and executables
47 !include generate-msvc.mak
48 !include build-rules-msvc.mak
52 !else # "$(VALID_MSC)" == "TRUE"
54 @echo You need Visual Studio 2013 or later.
56 !endif # "$(VALID_MSC)" == "TRUE"
58 !else # "$(VALID_CFGSET)" == "TRUE"
60 @echo You need to specify a valid configuration, via
61 @echo CFG=release or CFG=debug
62 !endif # "$(VALID_CFGSET)" == "TRUE"
64 !include info-msvc.mak