Permalink
Browse files

Working build using CMake.

Tested:
 - Visual Studio 2005
 - CMake 3.2.2

Still to-do:
 - WiX installer
 - Pageant download
 - Generate app_cast.xml
 - Generate setup_conf.xml
 - Generate swish/versions/metadata.h

Known issues:
 - Out-of-source builds have problem finding generated MIDL IID file.
  • Loading branch information...
1 parent 8fddfab commit 3218072115a2b8cf89ad4f749511d18303b116d9 @alamaison committed May 13, 2015
Showing with 2,787 additions and 20,513 deletions.
  1. +0 −11 .gitignore
  2. +0 −9 .gitmodules
  3. +0 −6 AUTHORS
  4. +66 −0 CMakeLists.txt
  5. +0 −358 Swish.sln
  6. BIN build/7za/7za.exe
  7. +0 −504 build/7za/copying.txt
  8. +0 −29 build/7za/license.txt
  9. +0 −41 build/7za/readme.txt
  10. +0 −16 build/boost_client.vsprops
  11. +0 −12 build/boost_test_client.vsprops
  12. +0 −13 build/boost_test_runner.vsprops
  13. +0 −11 build/cppunit_client.vsprops
  14. +0 −13 build/cppunit_runner.vsprops
  15. +0 −20 build/libssh2_client.vsprops
  16. +0 −35 build/makeboost.bat
  17. +0 −83 build/makedist.bat
  18. +0 −41 build/makeopenssl.bat
  19. +0 −53 build/makeopenssl_dll.bat
  20. +3 −4 build/making_a_release.txt
  21. +1 −44 build/prereqs.bat
  22. +0 −42 build/register.bat
  23. +0 −8 build/swish-Debug-Win32.vsprops
  24. +0 −8 build/swish-Debug-x64.vsprops
  25. +0 −29 build/swish-Debug.vsprops
  26. +0 −8 build/swish-Release-Win32.vsprops
  27. +0 −8 build/swish-Release-x64.vsprops
  28. +0 −30 build/swish-Release.vsprops
  29. +0 −25 build/swish-Win32.vsprops
  30. +0 −20 build/swish-x64.vsprops
  31. +0 −21 build/swish.vsprops
  32. +0 −17 build/swish_output_dirs.vsprops
  33. +0 −45 build/testingprereqs.bat
  34. +0 −674 build/wget/COPYING
  35. +0 −89 build/wget/README
  36. BIN build/wget/wget.exe
  37. +0 −24 build/winsparkle_client.vsprops
  38. +0 −15 build/wtl_client.vsprops
  39. +1 −0 cmake/Hunter/config.cmake
  40. +497 −0 cmake/HunterGate.cmake
  41. +41 −0 ezel/CMakeLists.txt
  42. +1 −1 ezel/control_parent_impl.hpp
  43. +1 −1 ezel/controls/button.hpp
  44. +4 −4 ezel/controls/icon.hpp
  45. +7 −5 ezel/controls/spinner.hpp
  46. +3 −3 ezel/detail/command_dispatch.hpp
  47. +2 −2 ezel/detail/dialog_template.hpp
  48. +3 −3 ezel/detail/hooks.hpp
  49. +6 −6 ezel/detail/hwnd_linking.hpp
  50. +2 −2 ezel/detail/message_dispatch.hpp
  51. +14 −14 ezel/detail/window_impl.hpp
  52. +2 −2 ezel/detail/window_link.hpp
  53. +7 −7 ezel/detail/window_proc.hpp
  54. +0 −195 ezel/ezel.vcproj
  55. +9 −9 ezel/form.hpp
  56. +43 −0 ssh/CMakeLists.txt
  57. +1 −0 ssh/agent.hpp
  58. +2 −0 ssh/filesystem.hpp
  59. +2 −1 ssh/knownhost.hpp
  60. +0 −191 ssh/ssh.vcproj
  61. +5 −2 ssh/ssh_error.hpp
  62. +27 −0 swish/CMakeLists.txt
  63. +37 −0 swish/connection/CMakeLists.txt
  64. +1 −4 swish/connection/authenticated_session.cpp
  65. +0 −3 swish/connection/running_session.cpp
  66. +10 −0 swish/connection/session_pool.cpp
  67. +4 −0 swish/connection/session_pool.hpp
  68. +46 −0 swish/drop_target/CMakeLists.txt
  69. +7 −7 swish/drop_target/CopyFileOperation.cpp
  70. +1 −1 swish/drop_target/CopyFileOperation.hpp
  71. +2 −2 swish/drop_target/CreateDirectoryOperation.cpp
  72. +7 −7 swish/drop_target/DropTarget.cpp
  73. +6 −6 swish/drop_target/DropTarget.hpp
  74. +11 −11 swish/drop_target/DropUI.cpp
  75. +3 −3 swish/drop_target/DropUI.hpp
  76. +8 −8 swish/drop_target/PidlCopyPlan.cpp
  77. +1 −1 swish/drop_target/PidlCopyPlan.hpp
  78. +2 −0 swish/drop_target/Progress.hpp
  79. +17 −17 swish/drop_target/RootedSource.hpp
  80. +9 −9 swish/drop_target/SftpDestination.hpp
  81. +0 −370 swish/drop_target/drop_target.vcproj
  82. +28 −0 swish/forms/CMakeLists.txt
  83. +5 −5 swish/forms/add_host.cpp
  84. +2 −0 swish/forms/add_host.hpp
  85. +0 −308 swish/forms/forms.vcproj
  86. +2 −0 swish/forms/password.hpp
  87. +44 −0 swish/frontend/CMakeLists.txt
  88. +9 −9 swish/frontend/UserInteraction.cpp
  89. +2 −2 swish/frontend/announce_error.cpp
  90. +1 −1 swish/frontend/announce_error.hpp
  91. +5 −3 swish/frontend/bind_best_taskdialog.cpp
  92. +4 −4 swish/frontend/bind_best_taskdialog.hpp
  93. +6 −6 swish/frontend/commands/About.cpp
  94. +1 −1 swish/frontend/commands/About.hpp
  95. +0 −347 swish/frontend/frontend.vcproj
  96. +56 −0 swish/host_folder/CMakeLists.txt
  97. +10 −10 swish/host_folder/ViewCallback.cpp
  98. +8 −8 swish/host_folder/ViewCallback.hpp
  99. +2 −1 swish/host_folder/columns.cpp
  100. +7 −7 swish/host_folder/columns.hpp
  101. +3 −1 swish/host_folder/commands/Add.cpp
  102. +3 −3 swish/host_folder/commands/Add.hpp
  103. +5 −3 swish/host_folder/commands/CloseSession.cpp
  104. +3 −3 swish/host_folder/commands/CloseSession.hpp
  105. +8 −6 swish/host_folder/commands/LaunchAgent.cpp
  106. +3 −3 swish/host_folder/commands/LaunchAgent.hpp
  107. +1 −1 swish/host_folder/commands/Remove.cpp
  108. +3 −3 swish/host_folder/commands/Remove.hpp
  109. +1 −1 swish/host_folder/commands/commands.cpp
  110. +4 −4 swish/host_folder/commands/commands.hpp
  111. +6 −6 swish/host_folder/extract_icon.hpp
  112. +0 −408 swish/host_folder/host_folder.vcproj
  113. +1 −1 swish/host_folder/host_management.cpp
  114. +2 −2 swish/host_folder/host_management.hpp
  115. +13 −13 swish/host_folder/host_pidl.hpp
  116. +12 −12 swish/host_folder/menu_command_manager.cpp
  117. +8 −8 swish/host_folder/menu_command_manager.hpp
  118. +2 −2 swish/host_folder/overlay_icon.hpp
  119. +2 −2 swish/host_folder/properties.cpp
  120. +7 −7 swish/host_folder/properties.hpp
  121. +43 −0 swish/nse/CMakeLists.txt
  122. +1 −1 swish/nse/Command.cpp
  123. +1 −1 swish/nse/Command.hpp
  124. +4 −4 swish/nse/StaticColumn.hpp
  125. +2 −0 swish/nse/UICommand.cpp
  126. +2 −0 swish/nse/data_object_util.cpp
  127. +1 −0 swish/nse/data_object_util.hpp
  128. +5 −2 swish/nse/default_context_menu_callback.cpp
  129. +1 −1 swish/nse/default_context_menu_callback.hpp
  130. +11 −11 swish/nse/explorer_command.cpp
  131. +3 −3 swish/nse/explorer_command.hpp
  132. +0 −356 swish/nse/nse.vcproj
  133. +15 −13 swish/nse/task_pane.hpp
  134. +2 −2 swish/nse/view_callback.cpp
  135. +0 −51 swish/pch.cpp
  136. +0 −95 swish/pch.h
  137. +36 −0 swish/provider/CMakeLists.txt
  138. +0 −499 swish/provider/COPYING
  139. +0 −333 swish/provider/provider.vcproj
  140. +56 −0 swish/remote_folder/CMakeLists.txt
  141. +4 −3 swish/remote_folder/ViewCallback.cpp
  142. +5 −5 swish/remote_folder/ViewCallback.hpp
  143. +5 −4 swish/remote_folder/columns.cpp
  144. +7 −7 swish/remote_folder/columns.hpp
  145. +7 −7 swish/remote_folder/commands/NewFolder.cpp
  146. +3 −3 swish/remote_folder/commands/NewFolder.hpp
  147. +1 −1 swish/remote_folder/commands/commands.cpp
  148. +4 −4 swish/remote_folder/commands/commands.hpp
  149. +6 −6 swish/remote_folder/commands/delete.cpp
  150. +8 −8 swish/remote_folder/context_menu_callback.cpp
  151. +1 −1 swish/remote_folder/pidl_connection.cpp
  152. +3 −3 swish/remote_folder/pidl_connection.hpp
  153. +16 −4 swish/remote_folder/properties.cpp
  154. +7 −7 swish/remote_folder/properties.hpp
  155. +0 −430 swish/remote_folder/remote_folder.vcproj
  156. +8 −8 swish/remote_folder/remote_pidl.hpp
  157. +5 −5 swish/remote_folder/swish_pidl.hpp
  158. +75 −0 swish/shell_folder/CMakeLists.txt
  159. +3 −3 swish/shell_folder/DataObject.cpp
  160. +3 −1 swish/shell_folder/DataObject.h
  161. +16 −16 swish/shell_folder/Folder.h
  162. +14 −14 swish/shell_folder/HostFolder.cpp
  163. +4 −4 swish/shell_folder/HostFolder.h
  164. +1 −0 swish/shell_folder/KbdInteractiveDialog.cpp
  165. +8 −3 swish/shell_folder/Pidl.h
  166. +4 −4 swish/shell_folder/Registry.cpp
  167. +3 −0 swish/shell_folder/Registry.h
  168. +9 −9 swish/shell_folder/RemoteFolder.cpp
  169. +5 −5 swish/shell_folder/RemoteFolder.h
  170. +8 −8 swish/shell_folder/SftpDataObject.cpp
  171. +2 −2 swish/shell_folder/SftpDataObject.h
  172. +7 −7 swish/shell_folder/SftpDirectory.cpp
  173. +11 −11 swish/shell_folder/SftpDirectory.h
  174. +2 −2 swish/shell_folder/SnitchingDataObject.hpp
  175. +1 −1 swish/shell_folder/SwishFolder.hpp
  176. +42 −0 swish/shell_folder/com_dll/CMakeLists.txt
  177. +1 −1 swish/shell_folder/com_dll/SwishCoClasses.cpp
  178. +1 −1 swish/shell_folder/com_dll/SwishModule.cpp
  179. +1 −1 swish/shell_folder/com_dll/com_dll.def
  180. +2 −2 swish/shell_folder/com_dll/com_dll.rc
  181. +0 −415 swish/shell_folder/com_dll/com_dll.vcproj
  182. +18 −17 swish/shell_folder/data_object/FileGroupDescriptor.hpp
  183. +9 −6 swish/shell_folder/data_object/ShellDataObject.cpp
  184. +6 −4 swish/shell_folder/data_object/ShellDataObject.hpp
  185. +5 −4 swish/shell_folder/locale_setup.hpp
  186. +2 −2 swish/shell_folder/shell.cpp
  187. +0 −570 swish/shell_folder/shell_folder.vcproj
  188. +2 −2 swish/utils.hpp
  189. +0 −279 swish/version/version.vcproj
  190. +44 −0 swish/versions/CMakeLists.txt
  191. +23 −0 swish/versions/configure_git_version.cmake
  192. +1 −0 swish/versions/git_version.h.in
  193. 0 swish/{version → versions}/metadata.h
  194. +2 −2 swish/{version → versions}/version.cpp
  195. 0 swish/{version → versions}/version.hpp
  196. +179 −0 test/CMakeLists.txt
  197. +46 −0 test/common_boost/CMakeLists.txt
  198. +1 −1 test/common_boost/ConsumerStub.hpp
  199. +4 −4 test/common_boost/PidlFixture.cpp
  200. +4 −4 test/common_boost/PidlFixture.hpp
  201. +7 −7 test/common_boost/SwishPidlFixture.hpp
  202. +0 −380 test/common_boost/common_boost.vcproj
  203. +2 −2 test/common_boost/data_object_utils.cpp
  204. +36 −0 test/common_boost/fixtures.cpp
  205. +28 −0 test/connection/CMakeLists.txt
  206. +0 −349 test/connection/connection.vcproj
  207. +17 −5 test/connection/session_pool_test.cpp
  208. +0 −28 test/connection/test.cpp
  209. +25 −0 test/drop_target/CMakeLists.txt
  210. +0 −344 test/drop_target/drop_target.vcproj
  211. +1 −1 test/drop_target/drop_target_test.cpp
  212. +8 −8 test/drop_target/rooted_source_test.cpp
  213. +22 −0 test/ezel/CMakeLists.txt
  214. +0 −332 test/ezel/ezel.vcproj
  215. +0 −46 test/ezel/test.cpp
  216. +10 −0 test/fix_key_permissions.sh
  217. +23 −0 test/forms/CMakeLists.txt
  218. +0 −352 test/forms/forms.vcproj
  219. +0 −28 test/forms/test.cpp
  220. +26 −0 test/host_folder/CMakeLists.txt
  221. +1 −1 test/host_folder/columns_test.cpp
  222. +0 −352 test/host_folder/host_folder.vcproj
  223. +7 −7 test/host_folder/host_pidl_test.cpp
  224. +3 −3 test/host_folder/properties_test.cpp
  225. +0 −28 test/host_folder/test.cpp
  226. +7 −7 test/host_folder/view_callback_test.cpp
  227. +2 −2 test/{drop_target/test.cpp → module.cpp.in}
  228. +23 −0 test/nse/CMakeLists.txt
  229. +0 −53 test/nse/module.cpp
  230. +0 −339 test/nse/nse.vcproj
  231. +23 −0 test/provider-network/CMakeLists.txt
  232. +0 −38 test/provider-network/module.cpp
  233. +0 −358 test/provider-network/provider-network.vcproj
  234. +29 −0 test/provider/CMakeLists.txt
  235. +0 −63 test/provider/Module.cpp
  236. +0 −380 test/provider/provider.vcproj
  237. BIN test/provider/provider_test.cpp
  238. +28 −0 test/remote_folder/CMakeLists.txt
  239. +3 −3 test/remote_folder/columns_test.cpp
  240. +3 −3 test/remote_folder/properties_test.cpp
  241. +0 −356 test/remote_folder/remote_folder.vcproj
  242. +7 −7 test/remote_folder/remote_pidl_test.cpp
  243. +2 −2 test/remote_folder/swish_pidl_test.cpp
  244. +0 −28 test/remote_folder/test.cpp
  245. +30 −0 test/shell_folder-com_dll/CMakeLists.txt
  246. +15 −17 test/shell_folder-com_dll/HostFolder_test.cpp
  247. +0 −360 test/shell_folder-com_dll/shell_folder-com_dll.vcproj
  248. +25 −0 test/shell_folder-dialogue/CMakeLists.txt
  249. +9 −2 test/shell_folder-dialogue/KbdInteractiveDialog_test.cpp
  250. +0 −27 test/shell_folder-dialogue/Module.cpp
  251. +0 −340 test/shell_folder-dialogue/shell_folder-dialogue.vcproj
  252. +35 −0 test/shell_folder/CMakeLists.txt
  253. +3 −6 test/shell_folder/{module.cpp → atl.cpp}
  254. +3 −3 test/shell_folder/data_object_test.cpp
  255. +1 −1 test/shell_folder/exercise_data_object.h
  256. +5 −5 test/shell_folder/remote_folder_test.cpp
  257. +3 −3 test/shell_folder/sftp_data_object_nasty_old_test.cpp
  258. +4 −4 test/shell_folder/sftp_data_object_test.cpp
  259. +3 −3 test/shell_folder/sftp_directory_test.cpp
  260. +1 −1 test/shell_folder/shell_data_object_test.cpp
  261. +0 −387 test/shell_folder/shell_folder.vcproj
  262. +2 −2 test/shell_folder/shell_test.cpp
  263. +148 −0 test/ssh/CMakeLists.txt
  264. +86 −7 test/ssh/openssh_fixture.cpp
  265. +0 −51 test/ssh/pch.cpp
  266. +2 −0 test/ssh/sandbox_fixture.cpp
  267. +0 −392 test/ssh/ssh.vcproj
  268. +3 −10 test/ssh/stream_test.cpp
  269. +0 −33 test/version/module.cpp
  270. +0 −334 test/version/version.vcproj
  271. +22 −0 test/versions/CMakeLists.txt
  272. +1 −1 test/{version → versions}/version_test.cpp
  273. +0 −1 thirdparty/comet
  274. +0 −1 thirdparty/libssh2
  275. +0 −447 thirdparty/libssh2.vcproj
  276. +0 −1 thirdparty/winapi
  277. +0 −6,415 thirdparty/wtl-fix/include/atldlgs.h
View
@@ -1,11 +0,0 @@
-bin/
-thirdparty/boost
-thirdparty/boost.process
-thirdparty/boost.locale
-thirdparty/openssl
-thirdparty/winsparkle
-thirdparty/wtl
-thirdparty/zlib
-*.user
-*.ncb
-*.suo
View
@@ -1,9 +0,0 @@
-[submodule "thirdparty/libssh2"]
- path = thirdparty/libssh2
- url = git://git.libssh2.org/libssh2.git
-[submodule "thirdparty/winapi"]
- path = thirdparty/winapi
- url = git://github.com/alamaison/winapi.git
-[submodule "thirdparty/comet"]
- path = thirdparty/comet
- url = git://github.com/alamaison/comet.git
View
@@ -1,6 +0,0 @@
-Author(s):
-Alexander Lamaison <awl03 (at) doc.ic.ac.uk>
-
-Contributor(s):
-
-$Id$
View
@@ -0,0 +1,66 @@
+# Copyright (C) 2015 Alexander Lamaison <swish@lammy.co.uk>
+#
+# This program is free software; you can redistribute it and/or modify it under
+# the terms of the GNU General Public License as published by the Free Software
+# Foundation; either version 2 of the License, or (at your option) any later
+# version.
+#
+# This program is distributed in the hope that it will be useful, but WITHOUT
+# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
+# Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+cmake_minimum_required(VERSION 3.1)
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
+
+# Package management ###########################################################
+
+include(HunterGate)
+
+HunterGate(
+ URL "https://github.com/alamaison/hunter/archive/ee83a15960b5d74098d8704bc9cf82ad8ec1734f.tar.gz"
+ SHA1 "d02301fee68f00198e7941129da446f80189017e"
+ LOCAL
+ )
+
+################################################################################
+
+project(swish)
+
+#include(max_warnings)
+
+include_directories(
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/thirdparty/taskdialog98)
+
+# Prevent Winsock errors and gives quicker builds
+add_definitions(-DWIN32_LEAN_AND_MEAN)
+
+# Currently required because not all Win32 calls use A or W form explicitly
+add_definitions(-DUNICODE -D_UNICODE)
+
+hunter_add_package(Boost
+ COMPONENTS filesystem system test date_time regex signals locale)
+
+set(Boost_USE_STATIC_LIBS ON)
+find_package(Boost 1.40 REQUIRED
+ COMPONENTS filesystem date_time system regex signals thread locale)
+add_definitions(-DBOOST_FILESYSTEM_VERSION=2)
+if(MSVC)
+ add_definitions(-DBOOST_ALL_NO_LIB=1)
+endif()
+include_directories(${Boost_INCLUDE_DIRS})
+
+add_subdirectory(ezel)
+add_subdirectory(ssh)
+add_subdirectory(swish)
+
+option(BUILD_TESTING "Build test suite" ON)
+if(BUILD_TESTING)
+ enable_testing()
+ add_subdirectory(test)
+endif()
View
Oops, something went wrong.
View
Binary file not shown.
View
Oops, something went wrong.
View
@@ -1,29 +0,0 @@
- 7-Zip Command line version
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
- License for use and distribution
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- 7-Zip Copyright (C) 1999-2009 Igor Pavlov.
-
- 7za.exe is distributed under the GNU LGPL license
-
- Notes:
- You can use 7-Zip on any computer, including a computer in a commercial
- organization. You don't need to register or pay for 7-Zip.
-
-
- GNU LGPL information
- --------------------
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Lesser General Public
- License as published by the Free Software Foundation; either
- version 2.1 of the License, or (at your option) any later version.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Lesser General Public License for more details.
-
- You can receive a copy of the GNU Lesser General Public License from
- http://www.gnu.org/
View
@@ -1,41 +0,0 @@
-7-Zip Command line version 9.04
--------------------------------
-
-7-Zip is a file archiver with high compression ratio.
-7za.exe is a standalone command line version of 7-Zip.
-
-7-Zip Copyright (C) 1999-2009 Igor Pavlov.
-
-Features of 7za.exe:
- - High compression ratio in new 7z format
- - Supported formats:
- - Packing / unpacking: 7z, xz, ZIP, GZIP, BZIP2 and TAR
- - Unpacking only: Z, lzma
- - Highest compression ratio for ZIP and GZIP formats.
- - Fast compression and decompression
- - Strong AES-256 encryption in 7z and ZIP formats.
-
-7za.exe is a free software distributed under the GNU LGPL.
-Read license.txt for more information.
-
-Source code of 7za.exe and 7-Zip can be found at
-http://www.7-zip.org/
-
-7za.exe can work in Windows 95/98/ME/NT/2000/XP/2003/Vista.
-
-There is also port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD,
-FreeBSD, Cygwin, AIX, ...), MacOS X and BeOS:
-
-http://p7zip.sourceforge.net/
-
-
- This distributive packet contains the following files:
-
- 7za.exe - 7-Zip standalone command line version.
- readme.txt - This file.
- license.txt - License information.
- 7-zip.chm - User's Manual in HTML Help format.
-
-
----
-End of document
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="boost_client"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(SolutionDir)\thirdparty\boost\"
- PreprocessorDefinitions="PCH_BOOST;BOOST_ASIO_DISABLE_IOCP;BOOST_FILESYSTEM_VERSION=2"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalLibraryDirectories="&quot;$(SolutionDir)thirdparty\boost\lib\$(PlatformName)\lib&quot;"
- />
-</VisualStudioPropertySheet>
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="boost_test_client"
- InheritedPropertySheets=".\boost_client.vsprops"
- >
- <Tool
- Name="VCCLCompilerTool"
- PreprocessorDefinitions="PCH_BOOST_TEST"
- />
-</VisualStudioPropertySheet>
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="boost_test_runner"
- InheritedPropertySheets=".\boost_test_client.vsprops"
- >
- <Tool
- Name="VCPostBuildEventTool"
- Description="Running unit tests ..."
- CommandLine="&quot;$(TargetPath)&quot; --result_code=no --report_level=confirm --log_level=test_suite"
- />
-</VisualStudioPropertySheet>
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="cppunit_client"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(CPPUNITDIR)\include"
- />
-</VisualStudioPropertySheet>
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="cppunit_runner"
- InheritedPropertySheets=".\cppunit_client.vsprops"
- >
- <Tool
- Name="VCPostBuildEventTool"
- Description="Running CppUnit unit tests ..."
- CommandLine="&quot;$(TargetPath)&quot;"
- />
-</VisualStudioPropertySheet>
@@ -1,20 +0,0 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioPropertySheet
- ProjectType="Visual C++"
- Version="8.00"
- Name="libssh2_client"
- >
- <Tool
- Name="VCCLCompilerTool"
- AdditionalIncludeDirectories="$(SolutionDir)\thirdparty\libssh2\include"
- PreprocessorDefinitions="LIBSSH2_WIN32"
- />
- <Tool
- Name="VCLibrarianTool"
- AdditionalDependencies="ws2_32.lib"
- />
- <Tool
- Name="VCLinkerTool"
- AdditionalDependencies="ws2_32.lib"
- />
-</VisualStudioPropertySheet>
View
@@ -1,35 +0,0 @@
-@echo off
-rem Script to build Boost in 32 and 64 bit variants as needed by Swish
-rem
-rem Copyright (C) 2010 Alexander Lamaison <awl03@doc.ic.ac.uk>
-rem
-rem This program is free software; you can redistribute it and/or modify
-rem it under the terms of the GNU General Public License as published by
-rem the Free Software Foundation; either version 2 of the License, or
-rem (at your option) any later version.
-rem
-rem This program is distributed in the hope that it will be useful,
-rem but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-rem GNU General Public License for more details.
-rem
-rem You should have received a copy of the GNU General Public License along
-rem with this program; if not, write to the Free Software Foundation, Inc.,
-rem 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-setlocal
-echo.
-
-cd ..\thirdparty\boost
-
-call "%VS80COMNTOOLS%\vsvars32.bat"
-
-call bootstrap
-
-set WITH_LIBRARIES=--with-date_time --with-filesystem --with-regex --with-signals --with-system --with-test --with-thread --with-locale
-set COMMON_ARGS=--toolset=msvc-8.0 --link=static %WITH_LIBRARIES%
-
-bjam %COMMON_ARGS% address-model=32 --stagedir=lib\Win32 stage
-bjam %COMMON_ARGS% address-model=64 --stagedir=lib\x64 stage
-
-pause
View
@@ -1,83 +0,0 @@
-@echo off
-rem Script to create a Swish source distribution
-rem
-rem Copyright (C) 2010, 2012 Alexander Lamaison <awl03@doc.ic.ac.uk>
-rem
-rem This program is free software; you can redistribute it and/or modify
-rem it under the terms of the GNU General Public License as published by
-rem the Free Software Foundation; either version 2 of the License, or
-rem (at your option) any later version.
-rem
-rem This program is distributed in the hope that it will be useful,
-rem but WITHOUT ANY WARRANTY; without even the implied warranty of
-rem MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-rem GNU General Public License for more details.
-rem
-rem You should have received a copy of the GNU General Public License along
-rem with this program; if not, write to the Free Software Foundation, Inc.,
-rem 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-
-setlocal
-echo.
-
-set DIST=%~dp0\..\dist
-set STAGING=%DIST%.temp
-echo Creating distribution at : %DIST%
-
-set WGET=%~dp0\wget\wget.exe -N
-echo Using wget at : %WGET%
-
-set SEVENZ=%~dp0\7za\7za.exe
-echo using 7zip at %SEVENZ%
-
-cd ..
-
-echo ===- Copying the local Git repository ...
-if exist %STAGING% rd /S /Q %STAGING%
-if exist %STAGING%2 rd /S /Q %STAGING%2
-
-rem Use a second staging dir so we can xcopy removing .gits later
-call git clone -l . %STAGING%2/ || (
- echo ===- Error while taking a snapshot of the Git repo & goto error)
-
-rem Dowload all prerequs using just checked out prereq scripts
-
-pushd %STAGING%2\build
-call prereqs.bat "nopause" || (echo ===- Error downloading prerequs & goto error)
-call testingprereqs.bat "nopause" || (
- echo ===- Error downloading testing prerequs & goto error)
-popd
-
-call echo .git > excludefile.txt
-call xcopy /E /Q /Y /I /EXCLUDE:excludefile.txt %STAGING%2 %STAGING% || (
- echo ===- Error filtering .git directories & goto error)
-call rm excludefile.txt
-call rd /S /Q %STAGING%2
-
-rem Package code
-
-if not exist %DIST% md %DIST%
-
-pushd %STAGING%
-set VERSION=git
-set PKG_NAME=swish-%VERSION%-src
-if exist %DIST%.\%PKG_NAME%.7z del %DIST%.\%PKG_NAME%.7z
-%SEVENZ% a -t7z %DIST%.\%PKG_NAME%.7z * || (
- echo ===- Error creating .7z package & goto error)
-if exist %DIST%.\%PKG_NAME%.zip del %DIST%.\%PKG_NAME%.zip
-%SEVENZ% a -tzip %DIST%.\%PKG_NAME%.zip * || (
- echo ===- Error creating .zip package & goto error)
-popd
-
-rd /S /Q %STAGING% || (echo ===- Error cleaning staging area & goto error)
-
-echo.
-echo ===- Distribution successfully created in dist\.
-echo.
-if [%1]==[] pause
-exit /B 0
-
-:error
-echo.
-if [%1]==[] pause
-exit /B 1
Oops, something went wrong.

0 comments on commit 3218072

Please sign in to comment.