
I'm taking a page from Dolphin's book, and including copies of each dependency's source code. This combines the ease of use of including pre-built libraries instead of needing to navigate a package manager - as is (or was) the case for MSVC - with the portability of using packages. Granted, this method's more of a jack of all trades, master of none, since it's *less* user-friendly than prebuilt packages (compilation times), and you don't get the per-distro compatibility fixes you'd get from a package manager. You can still use system libs if you want. In fact, it's still the default behaviour: compiling the libs manually is just a fallback. I'll add an option to force-enable this soon, however, since it's a nicer way to produce static MSYS2 builds than the hackish nightmare that I was using before. Not to mention, having my own copy of the sources means I can provide my own fixes and tweaks your package manager may not. For example, I can combine MSYS2's FreeType subpixel rendering with vcpkg's fix for SDL2 exporting its symbols in static builds.
145 lines
4 KiB
Text
145 lines
4 KiB
Text
# Microsoft Developer Studio Project File - Name="fltk_png" - Package Owner=<4>
|
|
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
|
# ** DO NOT EDIT **
|
|
|
|
# TARGTYPE "Win32 (x86) Static Library" 0x0104
|
|
|
|
CFG=fltk_png - Win32 Debug
|
|
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
|
!MESSAGE use the Export Makefile command and run
|
|
!MESSAGE
|
|
!MESSAGE NMAKE /f "fltk_png.mak".
|
|
!MESSAGE
|
|
!MESSAGE You can specify a configuration when running NMAKE
|
|
!MESSAGE by defining the macro CFG on the command line. For example:
|
|
!MESSAGE
|
|
!MESSAGE NMAKE /f "fltk_png.mak" CFG="fltk_png - Win32 Debug"
|
|
!MESSAGE
|
|
!MESSAGE Possible choices for configuration are:
|
|
!MESSAGE
|
|
!MESSAGE "fltk_png - Win32 Release" (based on "Win32 (x86) Static Library")
|
|
!MESSAGE "fltk_png - Win32 Debug" (based on "Win32 (x86) Static Library")
|
|
!MESSAGE
|
|
|
|
# Begin Project
|
|
# PROP AllowPerConfigDependencies 0
|
|
# PROP Scc_ProjName ""
|
|
# PROP Scc_LocalPath ""
|
|
CPP=cl.exe
|
|
RSC=rc.exe
|
|
|
|
!IF "$(CFG)" == "fltk_png - Win32 Release"
|
|
|
|
# PROP BASE Use_MFC 0
|
|
# PROP BASE Use_Debug_Libraries 0
|
|
# PROP BASE Output_Dir "Release/fltk_png"
|
|
# PROP BASE Intermediate_Dir "Release/fltk_png"
|
|
# PROP BASE Target_Dir ""
|
|
# PROP Use_MFC 0
|
|
# PROP Use_Debug_Libraries 0
|
|
# PROP Output_Dir "Release/fltk_png"
|
|
# PROP Intermediate_Dir "Release/fltk_png"
|
|
# PROP Target_Dir ""
|
|
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /YX /FD /c
|
|
# ADD CPP /nologo /MD /GX /Ot /Op /Ob2 /I "." /I "../.." /I "../../zlib" /I "../../png" /I "../../jpeg" /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /YX /FD /c
|
|
# SUBTRACT CPP /Os
|
|
# ADD BASE RSC /l 0x409
|
|
# ADD RSC /l 0x409
|
|
BSC32=bscmake.exe
|
|
# ADD BASE BSC32 /nologo
|
|
# ADD BSC32 /nologo
|
|
LIB32=link.exe -lib
|
|
# ADD BASE LIB32 /nologo
|
|
# ADD LIB32 /nologo /out:"..\..\lib\fltk_png.lib"
|
|
|
|
!ELSEIF "$(CFG)" == "fltk_png - Win32 Debug"
|
|
|
|
# PROP BASE Use_MFC 0
|
|
# PROP BASE Use_Debug_Libraries 1
|
|
# PROP BASE Output_Dir "Debug/fltk_png"
|
|
# PROP BASE Intermediate_Dir "Debug/fltk_png"
|
|
# PROP BASE Target_Dir ""
|
|
# PROP Use_MFC 0
|
|
# PROP Use_Debug_Libraries 1
|
|
# PROP Output_Dir "Debug/fltk_png"
|
|
# PROP Intermediate_Dir "Debug/fltk_png"
|
|
# PROP Target_Dir ""
|
|
# ADD BASE CPP /nologo /W3 /GX /Z7 /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /YX /FD /c
|
|
# ADD CPP /nologo /MDd /GX /Z7 /Od /I "." /I "../.." /I "../../zlib" /I "../../png" /I "../../jpeg" /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_CRT_SECURE_NO_DEPRECATE" /D "_CRT_NONSTDC_NO_DEPRECATE" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "WIN32_EXTRA_LEAN" /FR /YX /FD /c
|
|
# ADD BASE RSC /l 0x409
|
|
# ADD RSC /l 0x409
|
|
BSC32=bscmake.exe
|
|
# ADD BASE BSC32 /nologo
|
|
# ADD BSC32 /nologo
|
|
LIB32=link.exe -lib
|
|
# ADD BASE LIB32 /nologo
|
|
# ADD LIB32 /nologo /out:"..\..\lib\fltk_pngd.lib"
|
|
|
|
!ENDIF
|
|
|
|
# Begin Target
|
|
|
|
# Name "fltk_png - Win32 Release"
|
|
# Name "fltk_png - Win32 Debug"
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\png.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngerror.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngget.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngmem.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngpread.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngread.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngrio.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngrtran.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngrutil.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngset.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngtrans.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngwio.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngwrite.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngwtran.c
|
|
# End Source File
|
|
# Begin Source File
|
|
|
|
SOURCE=..\..\png\pngwutil.c
|
|
# End Source File
|
|
# End Target
|
|
# End Project
|