This commit is contained in:
2022-09-24 21:02:50 +08:00
parent b6e0e203f8
commit 8a5efb6908
45 changed files with 9231 additions and 12 deletions

View File

@@ -0,0 +1,114 @@
###
### CMake settings
###
# see http://www.cmake.org/Wiki/CMake_Policies
cmake_minimum_required(VERSION 2.8)
###
### Project settings
###
project(RegShot)
set(EXE_SUFFIX "-alpha")
###
### Project options
###
## Build options
# --> Microsoft Visual C++
# see http://msdn.microsoft.com/en-us/library/aa278396(v=VS.60).aspx
# http://msdn.microsoft.com/en-us/library/2kzt1wy3(v=VS.71).aspx
option(MSVC_SHARED_RT "MSVC: Build with shared runtime libs (/MD)" OFF)
option(MSVC_STHREADED_RT "MSVC: Build with single-threaded static runtime libs (/ML until VS .NET 2003)" OFF)
###
### Sources, headers, directories and libs
###
file(GLOB sources "../src/[a-zA-Z]*.c")
file(GLOB private_headers "../src/[a-zA-Z]*.h")
file(GLOB resources "../src/[a-zA-Z]*.rc")
file(GLOB manifests "../src/res/[a-zA-Z]*.manifest")
###
### General compilation settings
###
if(WIN32)
if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
set(CMAKE_INSTALL_PREFIX "C:/")
endif()
endif()
# GCC specialities
if(CMAKE_COMPILER_IS_GNUC)
message(FATAL_ERROR "GNU compiler not supported. Patch submissions welcome.")
endif()
# Microsoft VisualC++ specialities
if(MSVC)
### General stuff
# a) Change MSVC runtime library settings (/MD[d], /MT[d], /ML[d] (single-threaded until VS 2003))
# plus set lib suffix for later use and project label accordingly
# see http://msdn.microsoft.com/en-us/library/aa278396(v=VS.60).aspx
# http://msdn.microsoft.com/en-us/library/2kzt1wy3(v=VS.71).aspx
set(LIB_RT_SUFFIX "md") # CMake defaults to /MD for MSVC
set(LIB_RT_OPTION "/MD")
#
if(NOT MSVC_SHARED_RT) # User wants to have static runtime libraries (/MT, /ML)
if(MSVC_STHREADED_RT) # User wants to have old single-threaded static runtime libraries
set(LIB_RT_SUFFIX "ml")
set(LIB_RT_OPTION "/ML")
if(NOT ${MSVC_VERSION} LESS 1400)
message(FATAL_ERROR "Single-threaded static runtime libraries (/ML) only available until VS .NET 2003 (7.1).")
endif()
else()
set(LIB_RT_SUFFIX "mt")
set(LIB_RT_OPTION "/MT")
endif()
# correct linker options
foreach(flag_var CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
foreach(config_name "" DEBUG RELEASE MINSIZEREL RELWITHDEBINFO)
set(var_name "${flag_var}")
if(NOT "${config_name}" STREQUAL "")
set(var_name "${var_name}_${config_name}")
endif()
string(REPLACE "/MD" "${LIB_RT_OPTION}" ${var_name} "${${var_name}}")
endforeach()
endforeach()
endif()
#
set(LABEL_SUFFIX "${LABEL_SUFFIX} ${LIB_RT_SUFFIX}")
### Project stuff
if(NOT ${MSVC_VERSION} LESS 1400)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif()
if(CMAKE_CL_64)
set(PLATFORM_SUFFIX "-x64")
else()
set(PLATFORM_SUFFIX "")
endif()
endif()
###
### Executable
###
add_executable(${PROJECT_NAME}${PLATFORM_SUFFIX}${EXE_SUFFIX}
WIN32
${sources}
${private_headers}
${resources}
${manifests}
)
set_target_properties(${PROJECT_NAME}${PLATFORM_SUFFIX}${EXE_SUFFIX}
PROPERTIES
PROJECT_LABEL "${PROJECT_NAME}${PLATFORM_SUFFIX}${EXE_SUFFIX}${LABEL_SUFFIX}"
)

166
RegShot/build/build_wdk.bat Normal file
View File

@@ -0,0 +1,166 @@
@ECHO OFF
rem ******************************************************************************
rem * Copyright 2010-2011 XhmikosR
rem *
rem * This file is part of Regshot.
rem *
rem * Regshot is free software; you can redistribute it and/or modify
rem * it under the terms of the GNU General Public License as published by
rem * the Free Software Foundation; either version 2 of the License, or
rem * (at your option) any later version.
rem *
rem * Regshot is distributed in the hope that it will be useful,
rem * but WITHOUT ANY WARRANTY; without even the implied warranty of
rem * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem * GNU General Public License for more details.
rem *
rem * You should have received a copy of the GNU General Public License
rem * along with Regshot; if not, write to the Free Software
rem * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
rem *
rem *
rem * build_wdk.bat
rem * Batch file "wrapper" for makefile.mak, used to build Regshot with WDK
rem ******************************************************************************
SETLOCAL ENABLEEXTENSIONS
CD /D %~dp0
rem Set the WDK directory
IF NOT DEFINED WDKBASEDIR SET "WDKBASEDIR=C:\WinDDK\7600.16385.1"
rem Check the building environment
IF NOT EXIST "%WDKBASEDIR%" CALL :SUBMSG "ERROR" "Specify your WDK directory!"
rem Check for the help switches
IF /I "%~1" == "help" GOTO SHOWHELP
IF /I "%~1" == "/help" GOTO SHOWHELP
IF /I "%~1" == "-help" GOTO SHOWHELP
IF /I "%~1" == "--help" GOTO SHOWHELP
IF /I "%~1" == "/?" GOTO SHOWHELP
rem Check for the first switch
IF "%~1" == "" (
SET "BUILDTYPE=Build"
) ELSE (
IF /I "%~1" == "Build" SET "BUILDTYPE=Build" & GOTO CHECKSECONDARG
IF /I "%~1" == "/Build" SET "BUILDTYPE=Build" & GOTO CHECKSECONDARG
IF /I "%~1" == "-Build" SET "BUILDTYPE=Build" & GOTO CHECKSECONDARG
IF /I "%~1" == "--Build" SET "BUILDTYPE=Build" & GOTO CHECKSECONDARG
IF /I "%~1" == "Clean" SET "BUILDTYPE=Clean" & GOTO CHECKSECONDARG
IF /I "%~1" == "/Clean" SET "BUILDTYPE=Clean" & GOTO CHECKSECONDARG
IF /I "%~1" == "-Clean" SET "BUILDTYPE=Clean" & GOTO CHECKSECONDARG
IF /I "%~1" == "--Clean" SET "BUILDTYPE=Clean" & GOTO CHECKSECONDARG
IF /I "%~1" == "Rebuild" SET "BUILDTYPE=Rebuild" & GOTO CHECKSECONDARG
IF /I "%~1" == "/Rebuild" SET "BUILDTYPE=Rebuild" & GOTO CHECKSECONDARG
IF /I "%~1" == "-Rebuild" SET "BUILDTYPE=Rebuild" & GOTO CHECKSECONDARG
IF /I "%~1" == "--Rebuild" SET "BUILDTYPE=Rebuild" & GOTO CHECKSECONDARG
ECHO.
ECHO Unsupported commandline switch!
ECHO Run "%~nx0 help" for details about the commandline switches.
CALL :SUBMSG "ERROR" "Compilation failed!"
)
:CHECKSECONDARG
rem Check for the second switch
IF "%~2" == "" (
SET "ARCH=all"
) ELSE (
IF /I "%~2" == "x86" SET "ARCH=x86" & GOTO START
IF /I "%~2" == "/x86" SET "ARCH=x86" & GOTO START
IF /I "%~2" == "-x86" SET "ARCH=x86" & GOTO START
IF /I "%~2" == "--x86" SET "ARCH=x86" & GOTO START
IF /I "%~2" == "x64" SET "ARCH=x64" & GOTO START
IF /I "%~2" == "/x64" SET "ARCH=x64" & GOTO START
IF /I "%~2" == "-x64" SET "ARCH=x64" & GOTO START
IF /I "%~2" == "--x64" SET "ARCH=x64" & GOTO START
IF /I "%~2" == "all" SET "ARCH=all" & GOTO START
IF /I "%~2" == "/all" SET "ARCH=all" & GOTO START
IF /I "%~2" == "-all" SET "ARCH=all" & GOTO START
IF /I "%~2" == "--all" SET "ARCH=all" & GOTO START
ECHO.
ECHO Unsupported commandline switch!
ECHO Run "%~nx0 help" for details about the commandline switches.
CALL :SUBMSG "ERROR" "Compilation failed!"
)
:START
IF "%ARCH%" == "x64" GOTO x64
IF "%ARCH%" == "x86" GOTO x86
:x86
SET "INCLUDE=%WDKBASEDIR%\inc\api;%WDKBASEDIR%\inc\api\crt\stl60;%WDKBASEDIR%\inc\crt;%WDKBASEDIR%\inc\ddk"
SET "LIB=%WDKBASEDIR%\lib\crt\i386;%WDKBASEDIR%\lib\win7\i386"
SET "PATH=%WDKBASEDIR%\bin\x86;%WDKBASEDIR%\bin\x86\x86"
TITLE Building Regshot x86 with WDK...
ECHO. & ECHO.
CALL :SUBNMAKE
IF "%ARCH%" == "x86" GOTO END
:x64
SET "INCLUDE=%WDKBASEDIR%\inc\api;%WDKBASEDIR%\inc\api\crt\stl60;%WDKBASEDIR%\inc\crt;%WDKBASEDIR%\inc\ddk"
SET "LIB=%WDKBASEDIR%\lib\crt\amd64;%WDKBASEDIR%\lib\win7\amd64"
SET "PATH=%WDKBASEDIR%\bin\x86;%WDKBASEDIR%\bin\x86\amd64"
TITLE Building Regshot x64 with WDK...
ECHO. & ECHO.
CALL :SUBNMAKE "x64=1"
:END
TITLE Building Regshot with WDK - Finished!
ENDLOCAL
EXIT /B
:SUBNMAKE
nmake /NOLOGO /f "makefile.mak" %BUILDTYPE% %1
IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!"
EXIT /B
:SHOWHELP
TITLE "%~nx0 %1"
ECHO. & ECHO.
ECHO Usage: %~nx0 [Clean^|Build^|Rebuild] [x86^|x64^|all]
ECHO.
ECHO Notes: You can also prefix the commands with "-", "--" or "/".
ECHO The arguments are not case sensitive.
ECHO. & ECHO.
ECHO Edit "%~nx0" and set your WDK directory.
ECHO You shouldn't need to make any changes other than that.
ECHO. & ECHO.
ECHO Executing "%~nx0" will use the defaults: "%~nx0 build all"
ECHO.
ECHO If you skip the second argument the default one will be used. Example:
ECHO "%~nx0 rebuild" is the same as "%~nx0 rebuild all"
ECHO.
ECHO WARNING: "%~nx0 x86" won't work.
ECHO.
ENDLOCAL
EXIT /B
:SUBMSG
ECHO. & ECHO ______________________________
ECHO [%~1] %~2
ECHO ______________________________ & ECHO.
IF /I "%~1" == "ERROR" (
PAUSE
EXIT
) ELSE (
EXIT /B
)

View File

@@ -0,0 +1,66 @@
CMake allows to create project and make files for many different compilers from
a single source. This text will tell you how to create project files for RegShot.
If your compiler is not explained here then check out CMake's good documentation
at http://www.cmake.org/cmake/help/documentation.html
First get CMake from http://www.cmake.org/ (Resources -> Download).
On Windows either use the installer, or extract the zip to a folder which will
contain the CMake folder and then add CMake's bin folder to your path.
It is recommended to build out-of-source and not inside the source directory.
The following commands use shell variables to allow re-using them via a script.
Preparation for different compilers:
====================================
* set TDIR=vc6 & set CMGEN="Visual Studio 6"
"%ProgramFiles%\Microsoft Visual Studio\VC98\Bin\vcvars32.bat"
* set TDIR=vc2002 & set CMGEN="Visual Studio 7"
"%ProgramFiles%\Microsoft Visual Studio .NET\VC7\bin\vcvars32.bat"
* set TDIR=vc2003 & set CMGEN="Visual Studio 7 .NET 2003"
"%ProgramFiles%\Microsoft Visual Studio .NET 2003\VC7\bin\vcvars32.bat"
* set TDIR=vc2005 & set CMGEN="Visual Studio 8 2005"
"%ProgramFiles%\Microsoft Visual Studio 8\VC\vcvarsall.bat"
* set TDIR=vc2005-x64 & set CMGEN="Visual Studio 8 2005 Win64"
"%ProgramFiles%\Microsoft Visual Studio 8\VC\vcvarsall.bat"
* set TDIR=vc2008 & set CMGEN="Visual Studio 9 2008"
"%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
* set TDIR=vc2008-x64 & set CMGEN="Visual Studio 9 2008 Win64"
"%ProgramFiles%\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
* set TDIR=vc2010 & set CMGEN="Visual Studio 10"
"%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
* set TDIR=vc2010-x64 & set CMGEN="Visual Studio 10 Win64"
"%ProgramFiles%\Microsoft Visual Studio 10.0\VC\vcvarsall.bat"
Creating project files:
=======================
* cd /d C:\Coding\Regshot\trunk
* set CMOPTS=
Here you can set options to modify the resulting project files.
All options are listed in CMakeLists.txt and are normally self-explaining.
* Some important ones are:
-DMSVC_SHARED_RT=ON - link with shared runtime libs on MSVC
* Example:
set CMOPTS=-DMSVC_SHARED_RT=ON
* mkdir bin\%TDIR%
* cd bin\%TDIR%
* del /s /q * & rmdir /s /q .
* cmake %CMOPTS% -G %CMGEN% ..\..\build
Tested compilers:
=================
VS 6 (32-Bit, Maddes, just remove DS_SHELLFONT from src/regshot.rc)
VS 2002 (32-Bit, Maddes)
VS 2008 (32-Bit & 64-Bit, Maddes)

280
RegShot/build/make_zip.bat Normal file
View File

@@ -0,0 +1,280 @@
@ECHO OFF
rem ******************************************************************************
rem * Copyright 2010-2011 XhmikosR
rem *
rem * This file is part of Regshot.
rem *
rem * Regshot is free software; you can redistribute it and/or modify
rem * it under the terms of the GNU General Public License as published by
rem * the Free Software Foundation; either version 2 of the License, or
rem * (at your option) any later version.
rem *
rem * Regshot is distributed in the hope that it will be useful,
rem * but WITHOUT ANY WARRANTY; without even the implied warranty of
rem * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
rem * GNU General Public License for more details.
rem *
rem * You should have received a copy of the GNU General Public License
rem * along with Regshot; if not, write to the Free Software
rem * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
rem *
rem *
rem * make_packages.bat
rem * Batch file for building Regshot with WDK and creating the zip packages
rem ******************************************************************************
SETLOCAL
CD /D %~dp0
rem Check for the help switches
IF /I "%~1" == "help" GOTO SHOWHELP
IF /I "%~1" == "/help" GOTO SHOWHELP
IF /I "%~1" == "-help" GOTO SHOWHELP
IF /I "%~1" == "--help" GOTO SHOWHELP
IF /I "%~1" == "/?" GOTO SHOWHELP
rem Check for the first switch
IF "%~1" == "" (
SET INPUTDIRx86=bin\WDK\Release_Win32
SET INPUTDIRx64=bin\WDK\Release_x64
SET SUFFIX=_WDK
) ELSE (
IF /I "%~1" == "WDK" (
SET INPUTDIRx86=bin\WDK\Release_Win32
SET INPUTDIRx64=bin\WDK\Release_x64
SET SUFFIX=_WDK
GOTO START
)
IF /I "%~1" == "/WDK" (
SET INPUTDIRx86=bin\WDK\Release_Win32
SET INPUTDIRx64=bin\WDK\Release_x64
SET SUFFIX=_WDK
GOTO START
)
IF /I "%~1" == "-WDK" (
SET INPUTDIRx86=bin\WDK\Release_Win32
SET INPUTDIRx64=bin\WDK\Release_x64
SET SUFFIX=_WDK
GOTO START
)
IF /I "%~1" == "--WDK" (
SET INPUTDIRx86=bin\WDK\Release_Win32
SET INPUTDIRx64=bin\WDK\Release_x64
SET SUFFIX=_WDK
GOTO START
)
IF /I "%~1" == "VS2010" (
SET INPUTDIRx86=bin\VS2010\Release_Win32
SET INPUTDIRx64=bin\VS2010\Release_x64
SET SUFFIX=_VS2010
GOTO START
)
IF /I "%~1" == "/VS2010" (
SET INPUTDIRx86=bin\VS2010\Release_Win32
SET INPUTDIRx64=bin\VS2010\Release_x64
SET SUFFIX=_VS2010
GOTO START
)
IF /I "%~1" == "-VS2010" (
SET INPUTDIRx86=bin\VS2010\Release_Win32
SET INPUTDIRx64=bin\VS2010\Release_x64
SET SUFFIX=_VS2010
GOTO START
)
IF /I "%~1" == "--VS2010" (
SET INPUTDIRx86=bin\VS2010\Release_Win32
SET INPUTDIRx64=bin\VS2010\Release_x64
SET SUFFIX=_VS2010
GOTO START
)
IF /I "%~1" == "VS2008" (
SET INPUTDIRx86=bin\VS2008\Release_Win32
SET INPUTDIRx64=bin\VS2008\Release_x64
SET SUFFIX=_VS2008
GOTO START
)
IF /I "%~1" == "/VS2008" (
SET INPUTDIRx86=bin\VS2008\Release_Win32
SET INPUTDIRx64=bin\VS2008\Release_x64
SET SUFFIX=_VS2008
GOTO START
)
IF /I "%~1" == "-VS2008" (
SET INPUTDIRx86=bin\VS2008\Release_Win32
SET INPUTDIRx64=bin\VS2008\Release_x64
SET SUFFIX=_VS2008
GOTO START
)
IF /I "%~1" == "--VS2008" (
SET INPUTDIRx86=bin\VS2008\Release_Win32
SET INPUTDIRx64=bin\VS2008\Release_x64
SET SUFFIX=_VS2008
GOTO START
)
IF /I "%~1" == "ICL12" (
SET INPUTDIRx86=bin\ICL12\Release_Win32
SET INPUTDIRx64=bin\ICL12\Release_x64
SET SUFFIX=_ICL12
GOTO START
)
IF /I "%~1" == "/ICL12" (
SET INPUTDIRx86=bin\ICL12\Release_Win32
SET INPUTDIRx64=bin\ICL12\Release_x64
SET SUFFIX=_ICL12
GOTO START
)
IF /I "%~1" == "-ICL12" (
SET INPUTDIRx86=bin\ICL12\Release_Win32
SET INPUTDIRx64=bin\ICL12\Release_x64
SET SUFFIX=_ICL12
GOTO START
)
IF /I "%~1" == "--ICL12" (
SET INPUTDIRx86=bin\ICL12\Release_Win32
SET INPUTDIRx64=bin\ICL12\Release_x64
SET SUFFIX=_ICL12
GOTO START
)
IF /I "%~1" == "GCC" (
SET INPUTDIRx86=bin\GCC\Release_Win32
SET INPUTDIRx64=bin\GCC\Release_x64
SET SUFFIX=_GCC
GOTO START
)
IF /I "%~1" == "/GCC" (
SET INPUTDIRx86=bin\GCC\Release_Win32
SET INPUTDIRx64=bin\GCC\Release_x64
SET SUFFIX=_GCC
GOTO START
)
IF /I "%~1" == "-GCC" (
SET INPUTDIRx86=bin\GCC\Release_Win32
SET INPUTDIRx64=bin\GCC\Release_x64
SET SUFFIX=_GCC
GOTO START
)
IF /I "%~1" == "--GCC" (
SET INPUTDIRx86=bin\GCC\Release_Win32
SET INPUTDIRx64=bin\GCC\Release_x64
SET SUFFIX=_GCC
GOTO START
)
ECHO.
ECHO Unsupported commandline switch!
ECHO Run "%~nx0 help" for details about the commandline switches.
CALL :SUBMSG "ERROR" "Compilation failed!"
)
:START
SET "TEMP_NAME=temp_zip%SUFFIX%"
IF NOT EXIST "..\%INPUTDIRx86%\Regshot.exe" CALL :SUBMSG "ERROR" "Compile Regshot Win32 first!"
IF NOT EXIST "..\%INPUTDIRx64%\Regshot.exe" CALL :SUBMSG "ERROR" "Compile Regshot x64 first!"
CALL :SubGetVersion
CALL :SubZipFiles %INPUTDIRx86% Win32
CALL :SubZipFiles %INPUTDIRx64% x64
:END
TITLE Finished!
ECHO.
ENDLOCAL
PAUSE
EXIT /B
:SubZipFiles
TITLE Creating the %2 ZIP file...
CALL :SUBMSG "INFO" "Creating the %2 ZIP file..."
IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%"
IF NOT EXIST "%TEMP_NAME%" MD "%TEMP_NAME%"
COPY /Y /V "..\gpl.txt" "%TEMP_NAME%\GPL.txt"
COPY /Y /V "..\files\history.txt" "%TEMP_NAME%\History.txt"
COPY /Y /V "..\files\language.ini" "%TEMP_NAME%\"
COPY /Y /V "..\files\readme.txt" "%TEMP_NAME%\Readme.txt"
COPY /Y /V "..\files\regshot.ini" "%TEMP_NAME%\"
COPY /Y /V "..\%1\Regshot.exe" "%TEMP_NAME%\"
PUSHD "%TEMP_NAME%"
START "" /B /WAIT "..\..\files\7za.exe" a -tzip -mx=9 "Regshot_%REGSHOTVER%_%2%SUFFIX%.zip" >NUL
IF %ERRORLEVEL% NEQ 0 CALL :SUBMSG "ERROR" "Compilation failed!"
CALL :SUBMSG "INFO" "Regshot_%REGSHOTVER%_%2%SUFFIX%.zip created successfully!"
MOVE /Y "Regshot_%REGSHOTVER%_%2%SUFFIX%.zip" "..\" >NUL
POPD
IF EXIST "%TEMP_NAME%" RD /S /Q "%TEMP_NAME%"
EXIT /B
:SubGetVersion
rem Get the version
FOR /F "tokens=3,4 delims= " %%K IN (
'FINDSTR /I /L /C:"define REGSHOT_VERSION_MAJOR" "..\src\version.h"') DO (
SET "VerMajor=%%K"&Call :SubVerMajor %%VerMajor:*Z=%%)
FOR /F "tokens=3,4 delims= " %%L IN (
'FINDSTR /I /L /C:"define REGSHOT_VERSION_MINOR" "..\src\version.h"') DO (
SET "VerMinor=%%L"&Call :SubVerMinor %%VerMinor:*Z=%%)
FOR /F "tokens=3,4 delims= " %%M IN (
'FINDSTR /I /L /C:"define REGSHOT_VERSION_PATCH" "..\src\version.h"') DO (
SET "VerBuild=%%M"&Call :SubVerBuild %%VerBuild:*Z=%%)
FOR /F "tokens=3,4 delims= " %%N IN (
'FINDSTR /I /L /C:"define REGSHOT_VERSION_REV" "..\src\version.h"') DO (
SET "VerRev=%%N"&Call :SubVerRev %%VerRev:*Z=%%)
SET REGSHOTVER=%VerMajor%.%VerMinor%.%VerBuild%
EXIT /B
:SubVerMajor
SET VerMajor=%*
EXIT /B
:SubVerMinor
SET VerMinor=%*
EXIT /B
:SubVerBuild
SET VerBuild=%*
EXIT /B
:SubVerRev
SET VerRev=%*
EXIT /B
:SHOWHELP
TITLE "%~nx0 %1"
ECHO. & ECHO.
ECHO Usage: %~nx0 [GCC^|ICL12^|VS2008^|VS2010^|WDK]
ECHO.
ECHO Notes: You can also prefix the commands with "-", "--" or "/".
ECHO The arguments are not case sensitive.
ECHO. & ECHO.
ECHO Executing "%~nx0" will use the defaults: "%~nx0 WDK"
ECHO.
ENDLOCAL
EXIT /B
:SUBMSG
ECHO. & ECHO ______________________________
ECHO [%~1] %~2
ECHO ______________________________ & ECHO.
IF /I "%~1"=="ERROR" (
PAUSE
EXIT
) ELSE (
EXIT /B
)

160
RegShot/build/makefile.mak Normal file
View File

@@ -0,0 +1,160 @@
#******************************************************************************
#* Copyright 2010-2011 XhmikosR
#*
#* This file is part of Regshot.
#*
#* Regshot is free software; you can redistribute it and/or modify
#* it under the terms of the GNU General Public License as published by
#* the Free Software Foundation; either version 2 of the License, or
#* (at your option) any later version.
#*
#* Regshot is distributed in the hope that it will be useful,
#* but WITHOUT ANY WARRANTY; without even the implied warranty of
#* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#* GNU General Public License for more details.
#*
#* You should have received a copy of the GNU General Public License
#* along with Regshot; if not, write to the Free Software
#* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#*
#*
#* makefile.mak
#* makefile for building Regshot with WDK
#*
#* Use build_wdk.bat and set there your WDK directory.
#******************************************************************************
# Remove the .SILENT directive in order to display all the commands
.SILENT:
CC = cl.exe
LD = link.exe
RC = rc.exe
!IFDEF x64
BINDIR = ..\bin\WDK\Release_x64
!ELSE
BINDIR = ..\bin\WDK\Release_Win32
!ENDIF
OBJDIR = $(BINDIR)\obj
EXE = $(BINDIR)\Regshot.exe
SRC = ..\src
RES = $(SRC)\res
DEFINES = /D "_WINDOWS" /D "NDEBUG" /D "_CRT_SECURE_NO_WARNINGS" /D "WDK_BUILD"
CFLAGS = /nologo /c /Fo"$(OBJDIR)/" /W3 /EHsc /MD /O2 /GL /MP $(DEFINES)
LDFLAGS = /NOLOGO /WX /INCREMENTAL:NO /RELEASE /OPT:REF /OPT:ICF /MERGE:.rdata=.text \
/DYNAMICBASE /NXCOMPAT /LTCG /DEBUG
LIBS = advapi32.lib comdlg32.lib kernel32.lib shell32.lib user32.lib
RFLAGS = /l 0x0409
!IFDEF x64
CFLAGS = $(CFLAGS) /D "_WIN64" /D "_WIN32_WINNT=0x0502"
LIBS = $(LIBS) msvcrt_win2003.obj
LDFLAGS = $(LDFLAGS) /STACK:67108864 /SUBSYSTEM:WINDOWS,5.02 /MACHINE:X64
RFLAGS = $(RFLAGS) /d "_WIN64"
!ELSE
CFLAGS = $(CFLAGS) /D "WIN32" /D "_WIN32_WINNT=0x0500"
LIBS = $(LIBS) msvcrt_win2000.obj
LDFLAGS = $(LDFLAGS) /STACK:33554432 /LARGEADDRESSAWARE /SUBSYSTEM:WINDOWS,5.0 /MACHINE:X86
RFLAGS = $(RFLAGS) /d "WIN32"
!ENDIF
###############
## Targets ##
###############
BUILD: CHECKDIRS $(EXE)
CHECKDIRS:
IF NOT EXIST "$(OBJDIR)" MD "$(OBJDIR)"
CLEAN:
ECHO Cleaning... & ECHO.
IF EXIST "$(EXE)" DEL "$(EXE)"
IF EXIST "$(OBJDIR)\*.obj" DEL "$(OBJDIR)\*.obj"
IF EXIST "$(OBJDIR)\Regshot.res" DEL "$(OBJDIR)\Regshot.res"
IF EXIST "$(BINDIR)\Regshot.pdb" DEL "$(BINDIR)\Regshot.pdb"
-IF EXIST "$(OBJDIR)" RD /Q "$(OBJDIR)"
-IF EXIST "$(BINDIR)" RD /Q "$(BINDIR)"
REBUILD: CLEAN BUILD
####################
## Object files ##
####################
OBJECTS= \
$(OBJDIR)\fileshot.obj \
$(OBJDIR)\language.obj \
$(OBJDIR)\misc.obj \
$(OBJDIR)\output.obj \
$(OBJDIR)\regshot.obj \
$(OBJDIR)\regshot.res \
$(OBJDIR)\setup.obj \
$(OBJDIR)\ui.obj \
$(OBJDIR)\winmain.obj
##################
## Batch rule ##
##################
{$(SRC)}.c{$(OBJDIR)}.obj::
$(CC) $(CFLAGS) /Tc $<
################
## Commands ##
################
$(EXE): $(OBJECTS)
$(RC) $(RFLAGS) /fo"$(OBJDIR)\regshot.res" "$(SRC)\regshot.rc" >NUL
$(LD) $(LDFLAGS) $(LIBS) $(OBJECTS) /OUT:"$(EXE)"
####################
## Dependencies ##
####################
$(OBJDIR)\fileshot.obj: \
$(SRC)\fileshot.c \
$(SRC)\global.h
$(OBJDIR)\language.obj: \
$(SRC)\language.c \
$(SRC)\global.h
$(OBJDIR)\misc.obj: \
$(SRC)\misc.c \
$(SRC)\global.h
$(OBJDIR)\output.obj: \
$(SRC)\output.c \
$(SRC)\global.h
$(OBJDIR)\regshot.obj: \
$(SRC)\regshot.c \
$(SRC)\global.h \
$(SRC)\version.h
$(OBJDIR)\regshot.res: \
$(SRC)\regshot.rc \
$(SRC)\resource.h \
$(RES)\Regshot.exe.manifest \
$(RES)\regshot.ico \
$(SRC)\version.h
$(OBJDIR)\setup.obj: \
$(SRC)\setup.c \
$(SRC)\global.h
$(OBJDIR)\ui.obj: \
$(SRC)\ui.c \
$(SRC)\global.h
$(OBJDIR)\winmain.obj: \
$(SRC)\winmain.c \
$(SRC)\global.h \
$(SRC)\version.h

View File

@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regshot", "regshot_icl12.vcxproj", "{4C971282-E758-4BA4-B2EF-905613EAADD8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|Win32.ActiveCfg = Debug|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|Win32.Build.0 = Debug|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|x64.ActiveCfg = Debug|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|x64.Build.0 = Debug|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|Win32.ActiveCfg = Release|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|Win32.Build.0 = Release|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|x64.ActiveCfg = Release|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,224 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{4C971282-E758-4BA4-B2EF-905613EAADD8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>regshot</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>Intel C++ Compiler 12.1</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>Intel C++ Compiler 12.1</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>Intel C++ Compiler 12.1</PlatformToolset>
<InterproceduralOptimization>true</InterproceduralOptimization>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
<PlatformToolset>Intel C++ Compiler 12.1</PlatformToolset>
<InterproceduralOptimization>true</InterproceduralOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\ICL12\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\ICL12\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\ICL12\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\ICL12\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\ICL12\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\ICL12\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\ICL12\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\ICL12\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<StackReserveSize>33554432</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SuppressStartupBanner>true</SuppressStartupBanner>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN64;_DEBUG;_WINDOWS</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<StackReserveSize>67108864</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SuppressStartupBanner>true</SuppressStartupBanner>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeedHighLevel</Optimization>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<StringPooling>true</StringPooling>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LargeAddressAware>true</LargeAddressAware>
<MergeSections>.rdata=.text</MergeSections>
<SetChecksum>true</SetChecksum>
<WPOAsmListLocation>$(IntDir)</WPOAsmListLocation>
<WPOObjectFile>$(IntDir)</WPOObjectFile>
<StackReserveSize>33554432</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SuppressStartupBanner>true</SuppressStartupBanner>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeedHighLevel</Optimization>
<PreprocessorDefinitions>_WIN64;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<StringPooling>true</StringPooling>
<FunctionLevelLinking>true</FunctionLevelLinking>
<FloatingPointModel>Fast</FloatingPointModel>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<MergeSections>.rdata=.text</MergeSections>
<SetChecksum>true</SetChecksum>
<WPOAsmListLocation>$(IntDir)</WPOAsmListLocation>
<WPOObjectFile>$(IntDir)</WPOObjectFile>
<StackReserveSize>67108864</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SuppressStartupBanner>true</SuppressStartupBanner>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\src\global.h" />
<ClInclude Include="..\src\resource.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\src\res\regshot.ico" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\regshot.rc" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\fileshot.c" />
<ClCompile Include="..\src\language.c" />
<ClCompile Include="..\src\misc.c" />
<ClCompile Include="..\src\output.c" />
<ClCompile Include="..\src\regshot.c" />
<ClCompile Include="..\src\setup.c" />
<ClCompile Include="..\src\ui.c" />
<ClCompile Include="..\src\winmain.c" />
</ItemGroup>
<ItemGroup>
<Manifest Include="..\src\res\RegShot.exe.manifest" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\global.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\resource.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\src\res\regshot.ico">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\regshot.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\fileshot.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\language.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\misc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\output.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\regshot.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\setup.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\ui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\winmain.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Manifest Include="..\src\res\RegShot.exe.manifest">
<Filter>Resource Files</Filter>
</Manifest>
</ItemGroup>
</Project>

View File

@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Regshot", "regshot_vs2008.vcproj", "{A7D5D156-E803-459D-B768-7EBBC5D09DC6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Debug|Win32.ActiveCfg = Debug|Win32
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Debug|Win32.Build.0 = Debug|Win32
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Debug|x64.ActiveCfg = Debug|x64
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Debug|x64.Build.0 = Debug|x64
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Release|Win32.ActiveCfg = Release|Win32
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Release|Win32.Build.0 = Release|Win32
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Release|x64.ActiveCfg = Release|x64
{A7D5D156-E803-459D-B768-7EBBC5D09DC6}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,440 @@
<?xml version="1.0" encoding="windows-1253"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9,00"
Name="Regshot"
ProjectGUID="{A7D5D156-E803-459D-B768-7EBBC5D09DC6}"
RootNamespace="Regshot"
Keyword="Win32Proj"
TargetFrameworkVersion="196613"
>
<Platforms>
<Platform
Name="Win32"
/>
<Platform
Name="x64"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\"
IntermediateDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\obj\"
ConfigurationType="1"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateManifest="false"
GenerateDebugInformation="true"
SubSystem="2"
StackCommitSize="33554432"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\"
IntermediateDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\obj\"
ConfigurationType="1"
CharacterSet="2"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
MinimalRebuild="true"
BasicRuntimeChecks="3"
RuntimeLibrary="1"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_WIN64"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="2"
GenerateManifest="false"
GenerateDebugInformation="true"
SubSystem="2"
StackCommitSize="67108864"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\"
IntermediateDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\obj\"
ConfigurationType="1"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="2"
PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="WIN32"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateManifest="false"
GenerateDebugInformation="true"
SubSystem="2"
StackCommitSize="33554432"
OptimizeReferences="2"
EnableCOMDATFolding="2"
LargeAddressAware="2"
SetChecksum="true"
TargetMachine="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\"
IntermediateDirectory="..\bin\VS2008\$(ConfigurationName)_$(PlatformName)\obj\"
ConfigurationType="1"
CharacterSet="2"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
TargetEnvironment="3"
/>
<Tool
Name="VCCLCompilerTool"
AdditionalOptions="/MP"
Optimization="2"
PreprocessorDefinitions="_WIN64;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS"
RuntimeLibrary="0"
WarningLevel="3"
DebugInformationFormat="3"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
PreprocessorDefinitions="_WIN64"
Culture="1033"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
LinkIncremental="1"
GenerateManifest="false"
GenerateDebugInformation="true"
SubSystem="2"
StackCommitSize="67108864"
OptimizeReferences="2"
EnableCOMDATFolding="2"
SetChecksum="true"
TargetMachine="17"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<Filter
Name="Source Files"
Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
>
<File
RelativePath="..\src\fileshot.c"
>
</File>
<File
RelativePath="..\src\language.c"
>
</File>
<File
RelativePath="..\src\misc.c"
>
</File>
<File
RelativePath="..\src\output.c"
>
</File>
<File
RelativePath="..\src\regshot.c"
>
</File>
<File
RelativePath="..\src\setup.c"
>
</File>
<File
RelativePath="..\src\ui.c"
>
</File>
<File
RelativePath="..\src\winmain.c"
>
</File>
</Filter>
<Filter
Name="Header Files"
Filter="h;hpp;hxx;hm;inl;inc;xsd"
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
>
<File
RelativePath="..\src\global.h"
>
</File>
<File
RelativePath="..\src\resource.h"
>
</File>
<File
RelativePath="..\src\version.h"
>
</File>
</Filter>
<Filter
Name="Resource Files"
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav"
UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"
>
<File
RelativePath="..\src\res\Regshot.exe.manifest"
>
<FileConfiguration
Name="Debug|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCustomBuildTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCCustomBuildTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
ExcludedFromBuild="true"
>
<Tool
Name="VCCustomBuildTool"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
ExcludedFromBuild="true"
>
<Tool
Name="VCCustomBuildTool"
/>
</FileConfiguration>
</File>
<File
RelativePath="..\src\res\regshot.ico"
>
</File>
<File
RelativePath="..\src\regshot.rc"
>
</File>
</Filter>
</Files>
<Globals>
</Globals>
</VisualStudioProject>

View File

@@ -0,0 +1,26 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Regshot", "regshot_vs2010.vcxproj", "{4C971282-E758-4BA4-B2EF-905613EAADD8}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|Win32.ActiveCfg = Debug|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|Win32.Build.0 = Debug|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|x64.ActiveCfg = Debug|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Debug|x64.Build.0 = Debug|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|Win32.ActiveCfg = Release|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|Win32.Build.0 = Release|Win32
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|x64.ActiveCfg = Release|x64
{4C971282-E758-4BA4-B2EF-905613EAADD8}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@@ -0,0 +1,203 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{4C971282-E758-4BA4-B2EF-905613EAADD8}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>Regshot</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\VS2010\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\VS2010\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>..\bin\VS2010\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\VS2010\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\VS2010\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\VS2010\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\bin\VS2010\$(Configuration)_$(Platform)\</OutDir>
<IntDir>..\bin\VS2010\$(Configuration)_$(Platform)\obj\</IntDir>
<TargetName>Regshot</TargetName>
<GenerateManifest>false</GenerateManifest>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<StackReserveSize>33554432</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level4</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_WIN64;_DEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<MinimalRebuild>false</MinimalRebuild>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<StackReserveSize>67108864</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<LargeAddressAware>true</LargeAddressAware>
<MergeSections>.rdata=.text</MergeSections>
<SetChecksum>true</SetChecksum>
<StackReserveSize>33554432</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<PreprocessorDefinitions>_WIN64;NDEBUG;_WINDOWS;_CRT_SECURE_NO_WARNINGS</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<MergeSections>.rdata=.text</MergeSections>
<SetChecksum>true</SetChecksum>
<StackReserveSize>67108864</StackReserveSize>
</Link>
<ResourceCompile>
<PreprocessorDefinitions>_WIN64;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ResourceCompile>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\src\global.h" />
<ClInclude Include="..\src\resource.h" />
<ClInclude Include="..\src\version.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\src\res\regshot.ico" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\regshot.rc" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\fileshot.c" />
<ClCompile Include="..\src\language.c" />
<ClCompile Include="..\src\misc.c" />
<ClCompile Include="..\src\output.c" />
<ClCompile Include="..\src\regshot.c" />
<ClCompile Include="..\src\setup.c" />
<ClCompile Include="..\src\ui.c" />
<ClCompile Include="..\src\winmain.c" />
</ItemGroup>
<ItemGroup>
<Manifest Include="..\src\res\Regshot.exe.manifest" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@@ -0,0 +1,69 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\src\global.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\resource.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\src\version.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\src\res\regshot.ico">
<Filter>Resource Files</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\src\regshot.rc">
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\fileshot.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\language.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\misc.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\output.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\regshot.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\setup.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\ui.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\src\winmain.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<Manifest Include="..\src\res\Regshot.exe.manifest">
<Filter>Resource Files</Filter>
</Manifest>
</ItemGroup>
</Project>