summaryrefslogtreecommitdiff
path: root/projects/generate.bat
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-05-22 23:05:22 +0100
committerSteve Holme <steve_holme@hotmail.com>2014-05-22 23:10:38 +0100
commita9388b73b1aaa709e3d10ca84eef600f1f36c283 (patch)
tree05eff066de631112e74e3d031cece3a6b0721fd2 /projects/generate.bat
parenta7999da39e2788b086f5302f81128a9ad26c274b (diff)
downloadcurl-a9388b73b1aaa709e3d10ca84eef600f1f36c283.tar.gz
build: Use CURLX_* file lists for Visual Studio curl tool project generation
Diffstat (limited to 'projects/generate.bat')
-rw-r--r--projects/generate.bat16
1 files changed, 15 insertions, 1 deletions
diff --git a/projects/generate.bat b/projects/generate.bat
index 45b266325..4ac5fe296 100644
--- a/projects/generate.bat
+++ b/projects/generate.bat
@@ -6,7 +6,7 @@ rem * / __| | | | |_) | |
rem * | (__| |_| | _ <| |___
rem * \___|\___/|_| \_\_____|
rem *
-rem * Copyright (C) 2014, Steve Holme, <steve_holme@hotmail.com>
+rem * Copyright (C) 2014, Steve Holme, <steve_holme@hotmail.com>.
rem *
rem * This software is licensed as described in the file COPYING, which
rem * you should have received as part of this distribution. The terms
@@ -92,6 +92,20 @@ rem
for /f "delims=" %%h in ('dir /b ..\src\*.h') do call :element %1 src "%%h" %3
) else if "!var!" == "CURL_SRC_RC_FILES" (
for /f "delims=" %%r in ('dir /b ..\src\*.rc') do call :element %1 src "%%r" %3
+ ) else if "!var!" == "CURL_SRC_X_C_FILES" (
+ call :element %1 lib "strtoofft.c" %3
+ call :element %1 lib "strdup.c" %3
+ call :element %1 lib "rawstr.c" %3
+ call :element %1 lib "nonblock.c" %3
+ call :element %1 lib "warnless.c" %3
+ ) else if "!var!" == "CURL_SRC_X_H_FILES" (
+ call :element %1 lib "config-win32.h" %3
+ call :element %1 lib "curl_setup.h" %3
+ call :element %1 lib "strtoofft.h" %3
+ call :element %1 lib "strdup.h" %3
+ call :element %1 lib "rawstr.h" %3
+ call :element %1 lib "nonblock.h" %3
+ call :element %1 lib "warnless.h" %3
) else if "!var!" == "CURL_LIB_C_FILES" (
for /f "delims=" %%c in ('dir /b ..\lib\*.c') do call :element %1 lib "%%c" %3
) else if "!var!" == "CURL_LIB_H_FILES" (