<div dir="ltr">Hi all,<div style>I&#39;ve setup a new build configuration called ReleaseLowOpt for a set of projects we&#39;re developing.  Currently I have all the linker / compiler options being set, my problem comes when I&#39;m determining the set of libraries to specify on the link line and which directory to pull them from.  Our current structure is a large set of Core libraries that are installed into a directory according to which build configuration it&#39;s being built under (Debug / Release / ReleaseLowOpt).  For the executables linking against these Core Libraries, we have a CMake function that goes through the Core Library directories and enumerates them, adding each to the linker line.  </div>
<div style><br></div><div style>For instance, all libraries under %CoreInstallDirectory%/Debug/ will be put into the Debug linker line for the executable, same process for the Release configuration.  It does this through the <i>debug</i> and <i>optimized</i> keywords, but now I need to specify them for the ReleaseLowOpt configuration.</div>
<div style><br></div><div style>I&#39;ve been researching this for a little while and it seems that there are certain Target properties I could use, like IMPORTED_LINK_INTERFACE_LIBRARIES_&lt;config&gt; , but I can&#39;t seem to get that to make any difference in my link line.</div>
<div style><br></div><div style>As a separate topic, I&#39;m curious to understand how Target properties play into the greater structure of CMake, so I can make my code flow a bit better.</div><div style><br></div><div style>
Thanks for your time,</div><div style>Dan Sibbernsen</div></div>