How to build single executable binary with CMake in linux
<p>for example:</p>

<pre><code>//main.c
int main() {

}
</code></pre>

<p>I add it in CMakeLists.txt</p>

<pre><code>add_executable(MyBin ${SOURCE_FILES})
</code></pre>

<p>and run <code>cmake path/to/mypj</code>, I get "CMakeFiles/MyBin.dir", How to get "bin/MyBin".</p>