LIBRARY_OUTPUT_PATH
)
+##EED 04juin203
+##EED IF(WIN32)
+##EED IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4)
+##EED INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
+##EED LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
+##EED endif()
+##EED IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8)
+##EED INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win64)
+##EED LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win64)
+##EED endif()
+##EED ENDIF(WIN32)
+
+##EED SQLite
+##EED mechanisme FIND_PACKAGE(SQLite) missing ...
IF(WIN32)
- IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4)
- INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
- LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win32)
- endif()
- IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8)
- INCLUDE_DIRECTORIES(${PROJECT_SOURCE_DIR}/win64)
- LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/win64)
- endif()
+ set (SQLITE_DIR $ENV{SQLITE_DIR})
+ IF(DEFINED SQLITE_DIR)
+ INCLUDE_DIRECTORIES(${SQLITE_DIR}/include)
+ LINK_DIRECTORIES(${SQLITE_DIR}/lib)
+ ELSE()
+ MESSAGE(FATAL_ERROR "System variable SQLITE_DIR not defined.")
+ ENDIF()
ENDIF(WIN32)
+
SET(LIBNAME creaImageIO)
INCLUDE_DIRECTORIES(
${PROJECT_BINARY_DIR}
#EED 31/05/2011 not compiling
#ADD_SUBDIRECTORY(tests)
-IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4)
- ADD_SUBDIRECTORY(win32)
-endif()
-IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8)
- ADD_SUBDIRECTORY(win64)
-endif()
+##EED 04juin203
+##EED IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 4)
+##EED ADD_SUBDIRECTORY(win32)
+##EED endif()
+##EED IF(MSVC AND CMAKE_SIZEOF_VOID_P MATCHES 8)
+##EED ADD_SUBDIRECTORY(win64)
+##EED endif()
ADD_SUBDIRECTORY(install)
#==================================