<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">If they were not propagated, it
wouldn't compile at all, so they're definitely there somewhere.<br>
Can you show your CMakeLists.txt files?<br>
<br>
/Florent<br>
<br>
<br>
On 12/07/2017 19:59, Christian Mazakas wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHf7xWvtka3qycxf5-vc90qoV+kPQ+3GOMkT6O64USFbjBiomg@mail.gmail.com">
<div dir="ltr">
<div>To give a brief overview of what I'm trying to do, right
now I'm working on a project with tests. I want to abstract my
implementation into a library that I can then link to when
building both a testing binary and an application binary.</div>
<div><br>
</div>
<div><span>The issue is, my library is currently header-only. So
I figured that I would generate an interface library out of
this.</span></div>
<div><span><br>
</span></div>
<div><span>However, the header dependencies are not being
propagated out to the resulting executables. This means that
any changes in my header files appear to be ignored and
don't cause the dependent source files to be recompiled. The
only way I can get proper behavior is to call
"target_include_directories" directly on each one of my
executables.</span></div>
<div><span><br>
</span></div>
<div><span>For reference, I'm using the "Visual Studio 14 2015
Win64" generator on Windows 10, building a CUDA project.</span></div>
<div><span><br>
</span></div>
<div><span>Does anyone have any insight on this? I can post my
CMakeLists.txt file should need be.</span></div>
<div><span><br>
</span></div>
<div><span>- Chris</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<p><br>
</p>
</body>
</html>