ENH: Executables should go to the bin directory

This commit is contained in:
Andy Cedilnik 2003-05-02 11:29:53 -04:00
parent 1bb8d8109e
commit 3fcf8ebfcf
2 changed files with 4 additions and 4 deletions

View File

@ -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"
)

View File

@ -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)