summaryrefslogtreecommitdiff
path: root/cmake/sword_linker_check.cpp
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:21 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:21 -0400
commitcbb6dcfb002dd5bc5f702a4909306be5c2878319 (patch)
treef5321b16bc6eb2e5f32dd9aa3cdf9f9fe9185466 /cmake/sword_linker_check.cpp
parent1af3b165c9377702ca62a64112bc089a6f575c30 (diff)
Imported Upstream version 2.0
Diffstat (limited to 'cmake/sword_linker_check.cpp')
-rw-r--r--cmake/sword_linker_check.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/cmake/sword_linker_check.cpp b/cmake/sword_linker_check.cpp
new file mode 100644
index 0000000..465e1cf
--- /dev/null
+++ b/cmake/sword_linker_check.cpp
@@ -0,0 +1,27 @@
+/*********
+*
+* This file is part of BibleTime's source code, http://www.bibletime.info/.
+*
+* Copyright 1999-2008 by the BibleTime developers.
+* The BibleTime source code is licensed under the GNU General Public License version 2.0.
+*
+**********/
+
+/*
+ * Use some important Sword classes to see if the linker flags work correctly
+ */
+
+#include <iostream>
+
+#include <swmgr.h>
+#include <installmgr.h>
+#include <ftptrans.h>
+
+int main(int argc, char* argv[])
+{
+ sword::SWMgr mgr;
+ sword::InstallMgr imgr;
+ sword::FTPTransport trans("example.com");
+
+ return 0;
+}