Visual Studio 2017 - PreBuild event command line (build another project) - visual-studio-2017

I have a solution with multiple projects.
When I build project 'Foo', I need it to build also project 'SimplePluginFramework' before Foo.
It also needs to build 'SimplePluginFramework' in Release mode, even if Foo is built in debug mode.
I tried adding this to Foo's Pre-build event command line but it's existing with code 9009 and Bar doesn't get built...
$(MSBuildBinPath)\MSBuild.exe "L:\SL1 - Current System\Core\SL Agent\SLV1\Agent\SimplePluginFramework\SimplePluginFramework.csproj" /t:build /p:Configuration=Release
How can I make the build of one project trigger the build of a different project before the build?
I've tried adding a reference to that project but it still doesn't build it.
Error:
1>Target "PreBuildEvent" in file "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\Microsoft.Common.CurrentVersion.targets" from project "L:\SL1-(SentiLAN)-SentiLAN v1 - Current System\SentilanCore\SentiLAN Agent\SentilanV1\AgentServiceTpl\SentilanService\SentilanService.csproj" (target "CoreBuild" depends on it):
1>Using "Exec" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1>Task "Exec"
1> "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" "L:\SL1 - Current System\Core\SL Agent\SLV1\Agent\SimplePluginFramework\SimplePluginFramework.csproj" /t:build /p:Configuration=release
1> Microsoft (R) Build Engine version 15.3.409.57025 for .NET Framework
1> Copyright (C) Microsoft Corporation. All rights reserved.
1>
1> Build started 15/11/2017 09:47:32.
1> Project "L:\SL1 - Current System\Core\SL Agent\SLV1\Agent\SimplePluginFramework\SimplePluginFramework.csproj" on node 1 (build target(s)).
1> GenerateTargetFrameworkMonikerAttribute:
1> Skipping target "GenerateTargetFrameworkMonikerAttribute" because all output files are up-to-date with respect to the input files.
1> CoreCompile:
1> Skipping target "CoreCompile" because all output files are up-to-date with respect to the input files.
1> _CopyAppConfigFile:
1> Skipping target "_CopyAppConfigFile" because all output files are up-to-date with respect to the input files.
1> CopyFilesToOutputDirectory:
1> SimplePluginFramework -> L:\SL1 - Current System\Core\SL Agent\SLV1\Agent\SimplePluginFramework\lib\net35\SimplePluginFramework.dll
1> Done Building Project "L:\SL1 - Current System\Core\SL Agent\SLV1\Agent\SimplePluginFramework\SimplePluginFramework.csproj" (build target(s)).
1>
1> Build succeeded.
1> 0 Warning(s)
1> 0 Error(s)
1>
1> Time Elapsed 00:00:00.22
Project Dependencies:

Use Project | Project Dependencies to define that Foo depends on SimplePluginFramework.
Use solution configuration (right click on solution and select properties) to define that in solution level Debug configuration Foo's debug build is used but SimplePluginFramework's release build is used.

Related

MSB6004 The specified task executable location "\rc.exe" is invalid

I am attempting to build USBView, one of the Windows driver samples. I downloaded that from Github yesterday.
The problem is that Visual Studio attempts to find the resource compiler at the root, \rc.exe. That directory, \, obviously does not exist, so specifying the real location and placing that in the path has no bearing, x86 or x64. Visual Studio needs to find rc.exe not \rc.exe just I do not know from where VS pulled \.
I even went so far as to add the directory to my system PATH variable (and rebooted):
I did see this posting on SO, which suggested adding Microsoft.Net.Compilers to the project using NuGet Package Manager. That suggestion failed.
For whatever it is worth, here is the VS screenshot:
The diagnostic output from the build is less then helpful.
1>Target "BeforeResourceCompile" in file "C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets":
1>Done building target "BeforeResourceCompile" in project "usbview.vcxproj".
1>Target "MakeDirsForResourceCompile" in file "C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets":
1> Added Item(s): RcDirsToMake=C:\Users\Sarah\Downloads\Projects\Windows-driver-samples-master\usb\usbview\Debug
1> Task "MakeDir"
1> Task Parameter:Directories=C:\Users\Sarah\Downloads\Projects\Windows-driver-samples-master\usb\usbview\Debug
1> Done executing task "MakeDir".
1> Removed Item(s): RcDirsToMake=C:\Users\Sarah\Downloads\Projects\Windows-driver-samples-master\usb\usbview\Debug
1>Done building target "MakeDirsForResourceCompile" in project "usbview.vcxproj".
1>Target "_SelectedFiles" skipped. Previously built successfully.
1>Target "SelectCustomBuild" skipped. Previously built successfully.
1>Target "SelectResourceCompile" in file "C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets":
1>Done building target "SelectResourceCompile" in project "usbview.vcxproj".
1>Target "ResourceCompile" in file "C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets":
1> Using "RC" task from assembly "C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll".
1> Task "RC"
1> Task Parameter:Source=uvcview.rc
1> Task Parameter:
1> AdditionalIncludeDirectories=
1> Debug\
1> C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\atlmfc\include
1> Task Parameter:Culture=0x0409
1> Task Parameter:
1> PreprocessorDefinitions=
1> _X86_=1
1> i386=1
1> STD_CALL
1> WIN32_LEAN_AND_MEAN=1
1> _WIN32_WINNT=0x0A00
1> WINVER=0x0A00
1> WINNT=1
1> NTDDI_VERSION=0x0A000004
1> DBG=1
1> SMP_ID=\"{54E86405-9C3D-4F0F-B65C-AB86DE455DD7}\"
1> Task Parameter:ResourceOutputFileName=Debug\uvcview.res
1> Task Parameter:SuppressStartupBanner=True
1> Task Parameter:TrackerLogDirectory=Debug\usbview.tlog\
1> Task Parameter:MinimalRebuildFromTracking=True
1> Task Parameter:ToolArchitecture=Native32Bit
1> Task Parameter:ToolPath=\
1> Task Parameter:TrackFileAccess=True
1> All source files are not up-to-date: missing command TLog "C:\Users\Sarah\Downloads\DevExpress\Projects\Windows-driver-samples-master\usb\usbview\Debug\usbview.tlog\rc.command.1.tlog".
1> C:\Program Files (x86)\Microsoft\Visual Studio\2017\Enterprise\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(1498,5): error MSB6004: The specified task executable location "\rc.exe" is invalid.
1> Done executing task "RC" -- FAILED.
1>Done building target "ResourceCompile" in project "usbview.vcxproj" -- FAILED.
1>
1>Done building project "usbview.vcxproj" -- FAILED.
Microsoft seems to update Visual Studio on a daily basis, if not more frequently, however here is the version at the moment that I am typing this sentence. I have Windows 10 Pro x64, which also is not as bad with respect to perpetual updates.
Win32 does equal the x86 variant, but I did try both. As I mentioned, the problem really does appear to be the \.
I tried all permutations of the above.
Thoughts?
Per details on this MS Developer Community post link, if the WDK version doesn't match the SDK version then you can get this error.
In my case I had to downgrade the SDK version.

"cmd.exe" exited with code 3 in Visual Studio 2017 when building a C++ app with a lot of "The system cannot find the path specified." int the output

I am building my first C++ project, that I tried to debug, because of an issue. The project has not been build for the past 4/5 years, but the instructions were to run a bat file, which ran a "qmake -t vclib" for all directories in the project. This created a .vcproj file. Opening the file said
"These projects are either not supported or need project behaviour
impacting to open this version of Visual Studio"
error message.
picture of the error
After this, I pressed "OK" which created a .vcxproj file in the directory where the .vcproj was created. I also got this message second error message. From here I opened the .vcxproj file which should be the upgraded version of the project and I get again the second error. When I hit Build I get these errors:
enter image description here
and in the Output:
1>------ Up-To-Date check: Project: ccCore, Configuration: Debug Win32 ------
1>Project is not up-to-date: last build was unsuccessful.
1>------ Build started: Project: ccCore, Configuration: Debug Win32 ------
1>Build started 18/06/2018 10:46:52.
1>Building with tools version "15.0".
1>Target _CheckForInvalidConfigurationAndPlatform:
1> Task "Error" skipped, due to false condition; ( '$(_InvalidConfigurationError)' == 'true' ) was evaluated as ( '' == 'true' ).
1> Task "Warning" skipped, due to false condition; ( '$(_InvalidConfigurationWarning)' == 'true' ) was evaluated as ( '' == 'true' ).
1> Using "Message" task from assembly "Microsoft.Build.Tasks.Core, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a".
1> Task "Message"
1> Configuration=Debug
1> Done executing task "Message".
1> Task "Message"
1> Platform=Win32
1> Done executing task "Message".
1> Task "Error" skipped, due to false condition; ('$(OutDir)' != '' and !HasTrailingSlash('$(OutDir)')) was evaluated as ('.\' != '' and !HasTrailingSlash('.\')).
1> Task "Error" skipped, due to false condition; ('$(BaseIntermediateOutputPath)' != '' and !HasTrailingSlash('$(BaseIntermediateOutputPath)')) was evaluated as ('obj\' != '' and !HasTrailingSlash('obj\')).
1> Task "Error" skipped, due to false condition; ('$(IntermediateOutputPath)' != '' and !HasTrailingSlash('$(IntermediateOutputPath)')) was evaluated as ('_obj\' != '' and !HasTrailingSlash('_obj\')).
1>Target "_CheckForInvalidConfigurationAndPlatform" skipped. Previously built successfully.
1>Target SetTelemetryEnvironmentVariables:
1> Using "SetEnv" task from assembly "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.Build.CppTasks.Common.dll".
1> Task "SetEnv"
1> VSTEL_SolutionSessionID={22C99F8C-EC4B-4478-B4C6-9F995893CCFD}
1> Done executing task "SetEnv".
1> Task "SetEnv"
1> VSTEL_CurrentSolutionBuildID=470085203
1> Done executing task "SetEnv".
1> Task "SetEnv"
1> VSTEL_ProjectID={0171C2BC-3F1A-43E1-B151-47FFAC18B480}
1> Done executing task "SetEnv".
1>Target _PrepareForBuild:
1> Task "CreateItem" skipped, due to false condition; ('%(CustomBuild.IncludeFileToTool)'!='') was evaluated as (''!='').
1>Target _PrepareForReferenceResolution:
1> Task "Message" skipped, due to false condition; ('$(_REFERENCE_DEBUG)'=='true') was evaluated as (''=='true').
1>Target "ComputeCrtSDKReference" skipped, due to false condition; ('#(ClCompile)'!='' and '$(WindowsAppContainer)'=='true' and '$(UseCrtSDKReference)' != 'false') was evaluated as ...
1> Generating precompiled header source file '..\..\falcon_precomp.h.cpp'
...
1> MOC ..\include\ccFE\AppService.h
1> The system cannot find the path specified.
1> MOC ..\include\ccFE\PluginWidgetWebPage.h
1> The system cannot find the path specified.
1> MOC ..\include\ccFE\URLHandler.h
1> The system cannot find the path specified.
1> MOC ..\include\ccFE\YenkaWebPage.h
1> The system cannot find the path specified.
1> MOC ..\include\ccFE\YenkaWidget.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\AutoLayoutBaseSet.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\ComputedPropertyCallback.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\ContentsTreeStore.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\DocumentService.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\EventRegistry.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\Formatter.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\LiveQuerySet.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\NodeFilter.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\OutputTransform.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\OutputTransformManager.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\PartAssociationHelper.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\PartsTreeStore.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\PhononMediaPlayer.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\PixelDistanceConverter.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\ReplacementSet.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\SetValueCommand.h
1> The system cannot find the path specified.
1> MOC ..\include\ccModel\TreeStore.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\AccurateTimer.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\FeatureService.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\HttpFileHandler.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\JavaScriptBridge.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\SettingsService.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\Signaller.h
1> The system cannot find the path specified.
1> MOC ..\include\cc\WeakPointer.h
1> The system cannot find the path specified.
1> MOC collision\CollisionSpaceImpl.h
1> The system cannot find the path specified.
1> MOC commandManager\commandManager.h
1> The system cannot find the path specified.
1> MOC licence\LicenceDownloader.h
1> The system cannot find the path specified.
1> MOC licence\licenceService.h
1> The system cannot find the path specified.
1> MOC model\action_impl.h
1> The system cannot find the path specified.
1> MOC model\borderLayout.h
1> The system cannot find the path specified.
1> MOC model\camera\cameraAnimations\CameraAnimation.h
1> The system cannot find the path specified.
1> MOC model\canRotate3dCallback.h
1> The system cannot find the path specified.
1> MOC model\control_impl.h
1> The system cannot find the path specified.
1> MOC model\document_impl.h
1> The system cannot find the path specified.
1> MOC model\engineRegistry.h
1> The system cannot find the path specified.
1> MOC model\junction_impl.h
1> The system cannot find the path specified.
1> MOC model\linkedProperties.h
1> The system cannot find the path specified.
1> MOC model\link_impl.h
1> The system cannot find the path specified.
1> MOC model\LiveNodeWatcher.h
1> The system cannot find the path specified.
1> MOC model\LivePropertyWatcher.h
1> The system cannot find the path specified.
1> MOC model\Marquee.h
1> The system cannot find the path specified.
1> MOC model\model_impl.h
1> The system cannot find the path specified.
1> MOC model\node_impl.h
1> The system cannot find the path specified.
1> MOC model\pad_impl.h
1> The system cannot find the path specified.
1> MOC model\PartLockingHandler.h
1> The system cannot find the path specified.
1> MOC model\part_impl.h
1> The system cannot find the path specified.
1> MOC model\popup_impl.h
1> The system cannot find the path specified.
1> MOC model\propertyScaleCallback.h
1> The system cannot find the path specified.
1> MOC model\property_impl.h
1> The system cannot find the path specified.
1> MOC model\reflection_impl.h
1> The system cannot find the path specified.
1> MOC model\scene_impl.h
1> The system cannot find the path specified.
1> MOC model\spaceActionProcessor.h
1> The system cannot find the path specified.
1> MOC model\spaceOrient3Callback.h
1> The system cannot find the path specified.
1> MOC model\spacePos3Callback.h
1> The system cannot find the path specified.
1> MOC model\spacePosOrientCallback.h
1> The system cannot find the path specified.
1> MOC model\space_impl.h
1> The system cannot find the path specified.
1> MOC model\xyPosCallback.h
1> The system cannot find the path specified.
1> MOC model\xyzPosCallback.h
1> The system cannot find the path specified.
1> MOC package\packageManager.h
1> The system cannot find the path specified.
1> MOC package\SubjectManager.h
1> The system cannot find the path specified.
1> MOC units\numericalFormatter_impl.h
1> The system cannot find the path specified.
1> MOC util\AuthenticationDialog.h
1> The system cannot find the path specified.
1> MOC util\characterMapDialog.h
1> The system cannot find the path specified.
1> MOC util\HttpFileDownloader.h
1> The system cannot find the path specified.
1> MOC util\LocaleService.h
1> The system cannot find the path specified.
1> MOC util\NetworkProxy.h
1> The system cannot find the path specified.
1> MOC util\nodePropertyWatcher.h
1> The system cannot find the path specified.
1> MOC util\statGraph.h
1> The system cannot find the path specified.
1> MOC validators\baseValidator.h
1> The system cannot find the path specified.
1> MOC util\crashHandler.cpp
1> The system cannot find the path specified.
1> MOC ccFoundation\FeatureService.cpp
1> The system cannot find the path specified.
1> MOC util\statistic.cpp
1> The system cannot find the path specified.
1> MOC model\transaction.cpp
1> The system cannot find the path specified.
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 3.
1> Done executing task "CustomBuild" -- FAILED.
1>Done building target "CustomBuild" in project "ccCore.vcxproj" -- FAILED.
1>
1>Done building project "ccCore.vcxproj" -- FAILED.
1>
1>Build FAILED.
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): warning MSB8017: A circular dependency has been detected while executing custom build commands for item "_moc\crashHandler.moc". This may cause incremental build to work incorrectly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): warning MSB8017: A circular dependency has been detected while executing custom build commands for item "_moc\FeatureService.moc". This may cause incremental build to work incorrectly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): warning MSB8017: A circular dependency has been detected while executing custom build commands for item "_moc\statistic.moc". This may cause incremental build to work incorrectly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): warning MSB8017: A circular dependency has been detected while executing custom build commands for item "_moc\transaction.moc". This may cause incremental build to work incorrectly.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 3.
1> 4 Warning(s)
1> 1 Error(s)
1>
1>Time Elapsed 00:00:00.31
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
I can't put the full log due to character limit in the body, I am sorry. I read that I need to figure out which build step is causing the error, but I have no idea how to this. Also, why does it say "1> The system cannot find the path specified." I can find all of the files and open them, why do they fail to open when I build the project. Many thanks, please let me know if I can post any other information if you can help me.

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3

when I use CMake to generate projects in visual studio and build it, I met the problem as the title says.
In the Cmake I have integrated QT libraries. See the following lines:
INCLUDE_DIRECTORIES(
${TOOLS_SOURCE_DIR}/../extern/qt5/include
${TOOLS_SOURCE_DIR}/../extern/qt5/include/QtCore
${CMAKE_CURRENT_BINARY_DIR}/Generated_Files
)
SET(GPS_TRANSFORMER_SRC
GPSTransformerNode.cxx
)
SET(GPS_TRANSFORMER_MOC_H
GPSTransformerNode.h
)
SET(GPS_TRANSFORMER_UI
)
QT_WRAP_CPP(GPS_TRANSFORMER_MOC_CXX ${GPS_TRANSFORMER_MOC_H})
QT_WRAP_UI(GPS_TRANSFORMER_UI_H ${GPS_TRANSFORMER_UI})
SOURCE_GROUP("Generated Files" FILES ${GPS_TRANSFORMER_MOC_CXX} ${GPS_TRANSFORMER_UI_H})
In visual studio, after building it,it comes to this error. Following are details.
1>_PrepareForClean:
1> Deleting file "RosGpsTransformer.dir\Release\RosGpsTransformer.lastbuildstate".
1>InitializeBuildStatus:
1> Touching "RosGpsTransformer.dir\Release\RosGpsTransformer.unsuccessfulbuild".
1>CustomBuild:
1> Building Custom Rule E:/Projects/MyRosPacage/NODES/src/RosGpsTransformer/CMakeLists.txt
1> CMake does not need to re-run because E:\Projects\MyRosPacage\NODES\win32\RosGpsTransformer\CMakeFiles\generate.stamp is up-to-date.
1> Generating Generated_Files/moc_GPSTransformerNode.cxx
1> The system cannot find the path specified.
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3.
1>
1>Build FAILED.
Then I noticed that in the project there is a folder called "Generated Files" and a file called "moc_GPSTransformerNode.cxx" in it. When I try to click on it, it cannot be open.
Does anybody know how I solve this problem?

build successful but no exe file - Install Magick on Visual studio 2010 - MFC

I want to use ImageMagick in a MFC program. I have downloaded the ImageMagick and followed the instruction to install it on my system. However I encountered a problem at the first step. I opened and converted the configure.sln under visual studio 2010. I received an error when I pressed the play button to run the program; stating that “unable to start the program configure.exe… the system cannot find the specific file.” I do appreciate if you provide me the instructions to install it under visual 2010.
I went to VisualMagick\configure folder and opened the configure.sln. I also sat the build configuration to Release. However I am still receiving the same error.
I do appreciate if someone suggest me what to do ?
Many Thanks,
Shervin Zargham
1>------ Rebuild All started: Project: configure, Configuration: Release Win32 ------
1>Build started 5/5/2013 11:18:19 PM.
1>_PrepareForClean:
1> Deleting file ".\Release\configure\configure.lastbuildstate".
1>InitializeBuildStatus:
1> Creating ".\Release\configure\configure.unsuccessfulbuild" because "AlwaysCreate"
was specified.
1>ClCompile:
1> stdafx.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> WaitDlg.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> configure.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> configure_wizard.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> finished_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> system_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> target_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> welcome_page.cpp
1> _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)
1> Generating Code...
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5):
warning MSB8012: TargetPath(D:\Shervin_Zargham\Industrial Projects\LED
Display\ImageMagick-6.8.5-4\ImageMagick-6.8.5\VisualMagick\configure\.\Release
\configure\configure.exe) does not match the Linker's OutputFile property value
(D:\Shervin_Zargham\Industrial Projects\LED Display\ImageMagick-6.8.5-4\ImageMagick
6.8.5\VisualMagick\configure\configure.exe). This may cause your project to build
incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and
$(TargetExt) property values match the value specified in %(Link.OutputFile).
1>Link:
1> configure.vcxproj -> D:\Shervin_Zargham\Industrial Projects\LED Display\ImageMagick-
6.8.5-4\ImageMagick-6.8.5\VisualMagick\configure\.\Release\configure\configure.exe
1>FinalizeBuildStatus:
1> Deleting file ".\Release\configure\configure.unsuccessfulbuild".
1> Touching ".\Release\configure\configure.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:22.43
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

C++ alphabetical build order

Here's a snippet from my build output in Visual Studio 2010:
1>------ Build started: Project: Engine, Configuration: Release_PG
Win32 ------ 1>icl : warning #10187: PGOPTI instrumentation disables
multifile optimizations 1>icl : warning #10188: PGOPTI instrumentation
disables IP optimizations
1> !BasketNovel.cpp 1> Compiling
precompiled.h - this should happen just once per project. 1> 1>
Compiling BasketNovel.h. 1>
1> Camera.cpp 1> Compiling
precompiled.h - this should happen just once per project. 1> 1>
Compiling BasketNovel.h. 1>
1> Console.cpp 1> Compiling
precompiled.h - this should happen just once per project. 1> 1>
Compiling BasketNovel.h. 1>
1> Entity.cpp 1> Compiling
precompiled.h - this should happen just once per project. 1> 1>
Compiling BasketNovel.h. 1>
1> Font.cpp
From what I see, the compiler's building my .cpp files in alphabetical order. I'm not really familiar with build concepts. Is this a normal behaviour?
Note: I am using the Intel C++ compiler.
The order of compilation is not really important. The important step that builds your end-product (executable, library, etc) is the linking step, where the pieces from the compilation step will be linked together.