From c9129e2613f717b7182960bfefe08aea4e493a29 Mon Sep 17 00:00:00 2001 From: Eduardo Davila Date: Thu, 15 Oct 2009 09:14:17 +0000 Subject: [PATCH] *** empty log message *** --- CMakeLists.txt | 1 + install/CMakeLists.txt | 2 +- win32/CMakeLists.txt | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 win32/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 2042dc1..dc3a5a2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -75,4 +75,5 @@ ENDIF(BUILD_CREA_PACS) # SUBDIRS(appli) SUBDIRS(bbtk) +SUBDIRS(win32) SUBDIRS(install) diff --git a/install/CMakeLists.txt b/install/CMakeLists.txt index 7b237e7..8e7be17 100644 --- a/install/CMakeLists.txt +++ b/install/CMakeLists.txt @@ -56,7 +56,7 @@ ENDIF(BUILD_STANDALONE_INSTALLER) # Aditional INSTALL for CPACK mecanism. IF (WIN32) - INSTALL( FILES ${PROJECT_SOURCE_DIR}/win32/sqlite3.dll DESTINATION bin ) + INSTALL( FILES ${PROJECT_BINARY_DIR}/RelWithDebInfo/sqlite3.dll DESTINATION bin ) INSTALL( FILES ${PROJECT_SOURCE_DIR}/win32/sqlite3.h DESTINATION include/creaImageIO2 ) ENDIF (WIN32) diff --git a/win32/CMakeLists.txt b/win32/CMakeLists.txt new file mode 100644 index 0000000..e1f53ad --- /dev/null +++ b/win32/CMakeLists.txt @@ -0,0 +1,5 @@ +IF (WIN32) + configure_file(sqlite3.dll ${PROJECT_BINARY_DIR}/Debug/sqlite3.dll COPYONLY) + configure_file(sqlite3.dll ${PROJECT_BINARY_DIR}/Release/sqlite3.dll COPYONLY) + configure_file(sqlite3.dll ${PROJECT_BINARY_DIR}/RelWithDebInfo/sqlite3.dll COPYONLY) +ENDIF(WIN32) \ No newline at end of file -- 2.46.1