File tree 1 file changed +2
-4
lines changed
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,6 @@ project(qtEditor)
2
2
3
3
set (CMAKE_DEBUG_POSTFIX "_d" )
4
4
set (CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR} /bin" )
5
- set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_INSTALL_PREFIX} )
6
- # Force MSVC_IDE to not put the executable in Debug/Release directories!
7
- set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG ${CMAKE_INSTALL_PREFIX} )
8
- set (CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE ${CMAKE_INSTALL_PREFIX} )
9
5
10
6
set (CMAKE_INCLUDE_CURRENT_DIR ON )
11
7
set (CMAKE_AUTOMOC ON )
@@ -60,6 +56,8 @@ add_executable(qtEditor WIN32
60
56
61
57
target_include_directories (qtEditor PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} )
62
58
59
+ set_target_properties (qtEditor PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR} /bin/$<0:>" )
60
+
63
61
if (WIN32 )
64
62
set_target_properties (qtEditor PROPERTIES DEBUG_POSTFIX _d)
65
63
set_property (TARGET qtEditor PROPERTY WIN32_EXECUTABLE 0)
You can’t perform that action at this time.
0 commit comments