diff Resources/CMake/SQLiteConfiguration.cmake @ 8:3a584803783e

build with visual studio
author jodogne
date Fri, 20 Jul 2012 11:00:49 +0200
parents 3959d33612cc
children 7350aff15193
line wrap: on
line diff
--- a/Resources/CMake/SQLiteConfiguration.cmake	Thu Jul 19 22:39:52 2012 +0200
+++ b/Resources/CMake/SQLiteConfiguration.cmake	Fri Jul 20 11:00:49 2012 +0200
@@ -1,17 +1,19 @@
-SET(SQLITE_SOURCES_DIR ${CMAKE_BINARY_DIR}/sqlite-amalgamation-3071300)
-DownloadPackage("http://www.sqlite.org/sqlite-amalgamation-3071300.zip" "${SQLITE_SOURCES_DIR}" "" "")
-
-list(APPEND THIRD_PARTY_SOURCES
-  ${SQLITE_SOURCES_DIR}/sqlite3.c
-  )
-
-add_definitions(
-  # For SQLite to run in the "Serialized" thread-safe mode
-  # http://www.sqlite.org/threadsafe.html
-  -DSQLITE_THREADSAFE=1  
-  -DSQLITE_OMIT_LOAD_EXTENSION  # Disable SQLite plugins
-  )
-
-include_directories(
-  ${SQLITE_SOURCES_DIR}
-  )
+SET(SQLITE_SOURCES_DIR ${CMAKE_BINARY_DIR}/sqlite-amalgamation-3071300)
+DownloadPackage("http://www.sqlite.org/sqlite-amalgamation-3071300.zip" "${SQLITE_SOURCES_DIR}" "" "")
+
+list(APPEND THIRD_PARTY_SOURCES
+  ${SQLITE_SOURCES_DIR}/sqlite3.c
+  )
+
+add_definitions(
+  # For SQLite to run in the "Serialized" thread-safe mode
+  # http://www.sqlite.org/threadsafe.html
+  -DSQLITE_THREADSAFE=1  
+  -DSQLITE_OMIT_LOAD_EXTENSION  # Disable SQLite plugins
+  )
+
+include_directories(
+  ${SQLITE_SOURCES_DIR}
+  )
+
+source_group(ThirdParty\\SQLite REGULAR_EXPRESSION ${SQLITE_SOURCES_DIR}/.*)
\ No newline at end of file