set (PROGRAMFILES "")
foreach (FILE dbt2-pgsql-build-db
dbt2-pgsql-load-db
)
configure_file(${FILE}.in ${CMAKE_BINARY_DIR}/${FILE} @ONLY)
set (PROGRAMFILES ${PROGRAMFILES} ${CMAKE_BINARY_DIR}/${FILE})
endforeach()
install (
PROGRAMS
${PROGRAMFILES}
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-check-db
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-create-db
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-create-indexes
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-create-tables
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-drop-db
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-drop-tables
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-init-db
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-load-stored-procs
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-plans
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-report
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-start-db
${CMAKE_SOURCE_DIR}/src/scripts/pgsql/dbt2-pgsql-stop-db
DESTINATION "bin"
)