install (TARGETS edit edit_test edit_test_dll
DESTINATION "${CMAKE_SOURCE_DIR}/bin${LIB_SUFFIX}")
install (TARGETS edit_a
DESTINATION "${CMAKE_SOURCE_DIR}/lib${LIB_SUFFIX}")
install (FILES editline/readline.h
DESTINATION "${CMAKE_SOURCE_DIR}/include/editline")
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
if (MSVC AND uppercase_CMAKE_BUILD_TYPE MATCHES "DEBUG")
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/edit_a.pdb
DESTINATION "${CMAKE_SOURCE_DIR}/lib${LIB_SUFFIX}")
install (FILES ${CMAKE_CURRENT_BINARY_DIR}/Debug/edit.pdb
DESTINATION "${CMAKE_SOURCE_DIR}/bin${LIB_SUFFIX}")
endif()
this installs to the source dir instead of the install prefix dir
this installs to the source dir instead of the install prefix dir