How to prevent Cmake from creating Debug/Release folders under EXECUTABLE_OUTPUT_PATH? -


i set executable_output_path ${cmake_binary_dir}/bin executable created in ${cmake_binary_dir}/bin/debug or ${cmake_binary_dir}/bin/release.

how can make put output under ${cmake_binary_dir}/bin without debug/release folders?

set variable cmake_runtime_output_directory_debug directory used "as is" debug builds. similarly, release builds variable cmake_runtime_output_directory_release used.

while may set both these variables same value, note executables created release builds overwrite ones debug builds, not natural cmake.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -