From f8ac67c943244aa57e5f848ca6b1f66eca32e138 Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 26 Mar 2023 10:21:47 -0600 Subject: Add support for building on Windows This makes it possible to compile cfws with Visual Studio. Since winsock and POSIX use very similar APIs, porting is mostly just a matter of placing ifdefs around #includes and functions with slightly different names. However, CGI scripts and command line arguments are not available in this port yet, since they used the Unix-exclusive getopt.h and popen. --- cfws.vcxproj | 165 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 cfws.vcxproj (limited to 'cfws.vcxproj') diff --git a/cfws.vcxproj b/cfws.vcxproj new file mode 100644 index 0000000..e10f31a --- /dev/null +++ b/cfws.vcxproj @@ -0,0 +1,165 @@ + + + + + Debug + Win32 + + + Release + Win32 + + + Debug + x64 + + + Release + x64 + + + + 16.0 + Win32Proj + {fafc8784-5a23-416e-9384-74a9f9d53f0d} + cfws + 10.0 + + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + Application + true + v143 + Unicode + + + Application + false + v143 + true + Unicode + + + + + + + + + + + + + + + + + + + + + $(SolutionDir)build\$(Configuration)-$(Platform)\ + $(SolutionDir)build\$(Configuration)-$(Platform)\ + + + $(SolutionDir)build\$(Configuration)-$(Platform)\ + $(SolutionDir)build\$(Configuration)-$(Platform)\ + + + $(SolutionDir)build\$(Configuration)-$(Platform)\ + $(SolutionDir)build\$(Configuration)-$(Platform)\ + + + $(SolutionDir)build\$(Configuration)-$(Platform)\ + $(SolutionDir)build\$(Configuration)-$(Platform)\ + + + + Level3 + true + WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpp17 + + + Console + true + + + + + Level3 + true + true + true + WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpp17 + + + Console + true + true + true + + + + + Level3 + true + _DEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpp17 + + + Console + true + + + + + Level3 + true + true + true + NDEBUG;_CONSOLE;%(PreprocessorDefinitions) + true + stdcpp17 + + + Console + true + true + true + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3