summaryrefslogtreecommitdiff
path: root/indra/win_updater
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-06-02 21:14:31 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-06-02 21:14:31 +0000
commit9db949eec327df4173fde3de934a87bedb0db13c (patch)
treeaeffa0f0e68b1d2ceb74d460cbbd22652c9cd159 /indra/win_updater
parent419e13d0acaabf5e1e02e9b64a07648bce822b2f (diff)
svn merge -r88066:88786 svn+ssh://svn.lindenlab.com/svn/linden/branches/cmake-9-merge
dataserver-is-deprecated for-fucks-sake-whats-with-these-commit-markers
Diffstat (limited to 'indra/win_updater')
-rw-r--r--indra/win_updater/CMakeLists.txt30
1 files changed, 30 insertions, 0 deletions
diff --git a/indra/win_updater/CMakeLists.txt b/indra/win_updater/CMakeLists.txt
new file mode 100644
index 0000000000..6379d7c59b
--- /dev/null
+++ b/indra/win_updater/CMakeLists.txt
@@ -0,0 +1,30 @@
+# -*- cmake -*-
+
+project(win_updater)
+
+include(00-Common)
+include(LLCommon)
+include(Linking)
+
+include_directories(
+ ${LLCOMMON_INCLUDE_DIRS}
+ )
+
+set(win_updater_SOURCE_FILES updater.cpp)
+
+set(win_updater_HEADER_FILES CMakeLists.txt)
+
+set_source_files_properties(${win_updater_HEADER_FILES}
+ PROPERTIES HEADER_FILE_ONLY TRUE)
+
+list(APPEND win_updater_SOURCE_FILES ${win_updater_HEADER_FILES})
+
+add_executable(windows-updater WIN32 ${win_updater_SOURCE_FILES})
+
+target_link_libraries(windows-updater wininet)
+
+set_target_properties(windows-updater
+ PROPERTIES
+ LINK_FLAGS "/NODEFAULTLIB:MSVCRT"
+ LINK_FLAGS_DEBUG "/NODEFAULTLIB:\"LIBCMT;MSVCRTD\""
+ )