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

service - Android MediaPlayer calls onCompletion before it already finished -

javascript - Training Neural Network to play flappy bird with genetic algorithm - Why can't it learn? -

javascript - Create a stacked percentage column -