vinayvenu / orthanc

Automatically exported from code.google.com/p/orthanc
GNU General Public License v3.0
1 stars 3 forks source link

VisualStudioPrecompiledHeaders.cmake has same path for precompiled header for all configurations #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Build Debug configuration of Orthanc using Visual Studio
2.Build Release configuration of Orthanc using Visual Studio

What is the expected output? What do you see instead?
Expect to see the release configuration build successfully.  Instead it fails 
due to errors about the precompiled header not matching the configuration.

What version of the product are you using? On what operating system?
0.8.2 windows

Please provide any additional information below.
You need to use a configuration specific path for the precompiled header.  
Change line 3 to:
  set(PrecompiledBinary "$(IntDir)/${PrecompiledBasename}.pch")

Original issue reported on code.google.com by cha...@gmail.com on 25 Sep 2014 at 2:11

GoogleCodeExporter commented 9 years ago
Thanks! This is now fixed in the mainline: http://goo.gl/aZeaDK

Original comment by s.jodo...@gmail.com on 25 Sep 2014 at 6:37