<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">We have a build here where a large portion of our product is in source code available to customers, but then there is a core which we only distribute as prebuilt "private objects".
However, then when we test the customer-type build on Windows, we get an error like:<br>
<br>
---<br>
CMake Error in CMakeLists.txt:<br>
Target "exata" has source files which vary by configuration. This is not<br>
supported by the "Visual Studio 15 2017 Win64" generator.<br>
<br>
Config "Debug":<br>
<br>
E:/EXata_7_0/qualnet_dev_13_Dec18/kernel/obj/exata-main-windows-x64-vc14d.obj<br>
<br>
Config "Release":<br>
<br>
E:/EXata_7_0/qualnet_dev_13_Dec18/kernel/obj/exata-main-windows-x64-vc14.obj<br>
---<br>
<br>
(This object file is marked with source file property EXTERNAL_OBJECT=1.)<br>
<br>
Is this a limitation in Visual Studio projects, or a limitation in CMake? In either case, what workaround could allow this build to support generating Visual Studio projects?<br>
-- <br>
Daniel Schepler<br>
</div>
</body>
</html>