1 <?xml version=
"1.0" encoding=
"Windows-1252"?>
2 <VisualStudioPropertySheet
3 ProjectType=
"Visual C++"
8 This property sheet is used to check that PTHREADS-WIN32_PREBUILT_DIR is set
9 as an environment variable before the project is built. This
10 variable allows you to specify the location of the pre-built pthreads-win32 headers
11 and libraries without having to edit the project first.
13 If you don't want to use an environment variable for this, then
14 you can use the IDE to remove this property sheet
15 and then set the include and library directories manually.
16 To remove an inherited property sheet in Visual Studio 2005,
17 open the project Properties dialog and look under
18 Congfiguration Properties / General.
21 Name=
"VCPreBuildEventTool"
22 Description=
"Checking for PTHREADS-WIN32_PREBUILT_DIR macro:"
23 CommandLine=
"if "$(PTHREADS-WIN32_PREBUILT_DIR)" == "" (
echo *******************************************************************************
echo PTHREADS-WIN32_PREBUILT_DIR is not set. You must set PTHREADS-WIN32_PREBUILT_DIR, either as a Visual Studio
echo macro or in the environment, before building this sample.
echo The value of PTHREADS-WIN32_PREBUILT_DIR should be the path to directory that contains the
echo include and DLL directories.
echo *******************************************************************************
exit 1
) else (
echo PTHREADS-WIN32_PREBUILT_DIR is $(PTHREADS-WIN32_PREBUILT_DIR)
)"
26 Name=
"VCCLCompilerTool"
27 AdditionalIncludeDirectories=
"$(PTHREADS-WIN32_PREBUILT_DIR)\include\"
31 AdditionalDependencies=
"pthreadVC2.lib"
33 </VisualStudioPropertySheet>