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

build with visual studio
author jodogne
date Fri, 20 Jul 2012 11:00:49 +0200
parents 3959d33612cc
children 62bd05fe4b7c
line wrap: on
line diff
--- a/Resources/CMake/MongooseConfiguration.cmake	Thu Jul 19 22:39:52 2012 +0200
+++ b/Resources/CMake/MongooseConfiguration.cmake	Fri Jul 20 11:00:49 2012 +0200
@@ -1,21 +1,23 @@
-SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose)
-DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "")
-
-# Patch mongoose
-execute_process(
-  COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/mongoose-patch.diff
-  WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR}
-  )
-
-include_directories(
-  ${MONGOOSE_SOURCES_DIR}
-  )
-
-list(APPEND THIRD_PARTY_SOURCES
-  ${MONGOOSE_SOURCES_DIR}/mongoose.c
-  )
-
-add_definitions(
-  # Remove SSL support from mongoose
-  -DNO_SSL=1
-  )
+SET(MONGOOSE_SOURCES_DIR ${CMAKE_BINARY_DIR}/mongoose)
+DownloadPackage("http://mongoose.googlecode.com/files/mongoose-3.1.tgz" "${MONGOOSE_SOURCES_DIR}" "" "")
+
+# Patch mongoose
+execute_process(
+  COMMAND patch mongoose.c ${CMAKE_SOURCE_DIR}/Resources/mongoose-patch.diff
+  WORKING_DIRECTORY ${MONGOOSE_SOURCES_DIR}
+  )
+
+include_directories(
+  ${MONGOOSE_SOURCES_DIR}
+  )
+
+list(APPEND THIRD_PARTY_SOURCES
+  ${MONGOOSE_SOURCES_DIR}/mongoose.c
+  )
+
+add_definitions(
+  # Remove SSL support from mongoose
+  -DNO_SSL=1
+  )
+
+source_group(ThirdParty\\Mongoose REGULAR_EXPRESSION ${MONGOOSE_SOURCES_DIR}/.*)