1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
# NMake Makefile portion for displaying config info
all-build-info:
@echo.
@echo ----------
@echo Build info
@echo ---------
@echo Build Type: $(CFG)
help:
@echo.
@echo ============================
@echo Building glibmm Using NMake
@echo ============================
@echo nmake /f Makefile.vc CFG=[release^|debug] ^<PREFIX=PATH^> ^<option1=xxx option2=xxx^>
@echo.
@echo Where:
@echo ------
@echo CFG: Required, use CFG=release for an optimized build and CFG=debug
@echo for a debug build. PDB files are generated for all builds.
@echo.
@echo PREFIX: Optional, the path where dependent libraries and tools may be
@echo found, default is ^$(srcrootdir)\..\vs^$(short_vs_ver)\^$(platform),
@echo where ^$(short_vs_ver) is 15 for VS 2017 and so on; and
@echo ^$(platform) is Win32 for 32-bit builds and x64 for x64 builds.
@echo.
@echo -----
@echo A few options are supported here, namely:
@echo.
@echo USE_COMPAT_LIBS: Use this if your libsigc++ was built with Visual Studio 2017 or
@echo 2019 but has the "vc140" in its .lib filename.
@echo.
@echo USE_MESON_LIBS: Use DLLs and LIBs of C++ dependencies that are built with Meson,
@echo as applicable.
@echo.
@echo PERL: Full path to PERL interpreter, if not already in PATH, needed to generate
@echo libxml++config.h and libxml++.rc if not already present in .\libxml++.
@echo.
@echo PREFIX: Base directory to look for dependencies and location for where the
@echo build results are copied, default is in ..\..\^$(short_vs_ver)\^$(platform)
@echo.
@echo INCLUDEDIR: Base include directory to look for dependenct headers,
@echo such as libxml2, default is in ^$(PREFIX)\include.
@echo.
@echo LIBDIR: Base directory to look for dependent libraries, such as libxml2,
@echo default is in ^$(PREFIX)\lib.
@echo.
@echo ======
@echo A 'clean' target is supported to remove all generated files, intermediate
@echo object files and binaries for the specified configuration.
@echo.
@echo An 'install' target is supported to copy the build (DLLs, utility programs,
@echo LIBs, along with the header files) to appropriate locations under ^$(PREFIX).
@echo.
@echo A 'tests' target is supported to build the test programs.
@echo ======
@echo.
|