ENH: Executables should go to the bin directory
This commit is contained in:
parent
1bb8d8109e
commit
3fcf8ebfcf
|
@ -60,7 +60,7 @@ IF(BUILD_TESTING)
|
|||
ENDIF (DART_ROOT)
|
||||
ENDIF(BUILD_TESTING)
|
||||
|
||||
SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/Source CACHE PATH
|
||||
SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE PATH
|
||||
"Where to put the executables for CMake"
|
||||
)
|
||||
|
||||
|
|
|
@ -123,10 +123,10 @@ IF(CMAKE_BUILD_WITH_CURL)
|
|||
)
|
||||
ENDIF(CMAKE_BUILD_WITH_CURL)
|
||||
|
||||
ADD_EXECUTABLE(cmtest ${CMTEST_SRCS})
|
||||
TARGET_LINK_LIBRARIES(cmtest CMakeLib)
|
||||
ADD_EXECUTABLE(ctest ${CMTEST_SRCS})
|
||||
TARGET_LINK_LIBRARIES(ctest CMakeLib)
|
||||
IF(CMAKE_BUILD_WITH_CURL)
|
||||
TARGET_LINK_LIBRARIES(cmtest Curl)
|
||||
TARGET_LINK_LIBRARIES(ctest Curl)
|
||||
ENDIF(CMAKE_BUILD_WITH_CURL)
|
||||
|
||||
IF (UNIX)
|
||||
|
|
Loading…
Reference in New Issue