<p>In <a href="https://github.com/mlpack/mlpack/pull/618#discussion_r59879848">src/mlpack/methods/neighbor_search/CMakeLists.txt</a>:</p>
<pre style='color:#555'>&gt; +target_link_libraries(mlpack_knn
&gt; +  mlpack
&gt; +)
&gt; +
&gt; +add_executable(mlpack_kfn
&gt; +  allkfn_main.cpp
&gt; +)
&gt; +target_link_libraries(mlpack_kfn
&gt; +  mlpack
&gt; +)
&gt; +
&gt; +install(TARGETS mlpack_knn mlpack_kfn RUNTIME DESTINATION bin)
&gt; +
&gt; +# -- mlpack_knn/mlpack_kfn compatibility start --
&gt; +# make a copy of mlpack_knn/mlpack_kfn both on Windows and *unix for compatibility
&gt; +# should be removed in future release
</pre>
<p>This will compile the knn and kfn executables twice, do you think there is an easier CMake way to just make a copy or symlink of the programs?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/mlpack/mlpack/pull/618/files/f13409cf7fe651b42d59e0caad4fc0a7b8aea40f#r59879848">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFOY2l_tVHsZ5XSJH32Ydrcjfig_Dks5p35zbgaJpZM4IIT2r.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/pull/618/files/f13409cf7fe651b42d59e0caad4fc0a7b8aea40f#r59879848"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>