<ClInclude Include="..\include\cectypes.h" />
<ClInclude Include="..\src\LibCecSharp\resource.h" />
<ClInclude Include="..\src\lib\platform\windows\stdint.h" />
+ <ClInclude Include="resource.h" />
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="LibCecSharp.rc" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<ClInclude Include="..\src\lib\platform\windows\stdint.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="resource.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
+ </ItemGroup>
+ <ItemGroup>
+ <ResourceCompile Include="LibCecSharp.rc" />
</ItemGroup>
</Project>
\ No newline at end of file
SetOutPath "$INSTDIR"
File /x p8-usbcec-driver-installer.exe /x cec-tray.exe "..\build\*.exe"
SetOutPath "$INSTDIR\x64"
- File /nonfatal /x cec-tray.exe "..\build\x64\*.exe"
+ File /nonfatal "..\build\x64\*.exe"
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
SetOutPath "$INSTDIR"
<ClInclude Include="..\src\lib\platform\windows\os-threads.h" />
<ClInclude Include="..\src\lib\platform\windows\os-types.h" />
<ClInclude Include="..\src\lib\platform\windows\stdint.h" />
+ <ClInclude Include="resource1.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\lib\adapter\AdapterFactory.cpp" />
<ClInclude Include="..\src\lib\adapter\AdapterFactory.h">
<Filter>adapter</Filter>
</ClInclude>
+ <ClInclude Include="resource1.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\lib\CECProcessor.cpp" />
--- /dev/null
+//{{NO_DEPENDENCIES}}
+// Microsoft Visual C++ generated include file.
+// Used by testclient.rc
+
+// Next default values for new objects
+//
+#ifdef APSTUDIO_INVOKED
+#ifndef APSTUDIO_READONLY_SYMBOLS
+#define _APS_NEXT_RESOURCE_VALUE 101
+#define _APS_NEXT_COMMAND_VALUE 40001
+#define _APS_NEXT_CONTROL_VALUE 1001
+#define _APS_NEXT_SYMED_VALUE 101
+#endif
+#endif
<ItemGroup>
<ClInclude Include="..\include\cec.h" />
<ClInclude Include="..\include\cecloader.h" />
+ <ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\lib\platform\windows\os-threads.cpp" />
<ClInclude Include="..\include\cecloader.h">
<Filter>exports</Filter>
</ClInclude>
+ <ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\src\testclient\main.cpp" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
+ <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="CecSharpClient.cs" />
</ItemGroup>
<ItemGroup>
<Name>LibCecSharp</Name>
</ProjectReference>
</ItemGroup>
- <ItemGroup>
- <Folder Include="Properties\" />
- </ItemGroup>
+ <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
set COMPILER11="%VS110COMNTOOLS%\..\IDE\VCExpress.exe"
) ELSE IF EXIST "%VS110COMNTOOLS%\..\IDE\devenv.exe" (
set COMPILER11="%VS110COMNTOOLS%\..\IDE\devenv.exe"
-) ELSE GOTO NOSDK10
+) ELSE GOTO NOSDK11
del /s /f /q ..\build
mkdir ..\build
:CREATEINSTALLER
echo. Creating the installer
+cd ..\build\x64
+cp libcec.dll libcec.x64.dll
+cp cec-client.exe cec-client.x64.exe
+cd ..\..\project
%NSIS% /V1 /X"SetCompressor /FINAL lzma" "libCEC.nsi"
IF NOT EXIST "..\build\libCEC-installer.exe" GOTO :ERRORCREATINGINSTALLER
set EXITCODE=0
GOTO EXIT
-:NOSDK10
-echo. Both Visual Studio 2010 and Visual C++ Express 2010 were not found on your system.
+:NOSDK11
+echo. Visual Studio 2012 was not found on your system.
GOTO EXIT
:NOSIS
del /q /f ..\build\*.lib
del /q /f ..\build\*.exp
del /q /f ..\build\*.xml
+del /q /f ..\build\*.metagen
del /s /f /q ..\build\x64
rmdir ..\build\x64
cd ..\support