From cbb6dcfb002dd5bc5f702a4909306be5c2878319 Mon Sep 17 00:00:00 2001 From: "Roberto C. Sanchez" Date: Tue, 21 Oct 2014 22:48:21 -0400 Subject: Imported Upstream version 2.0 --- cmake/sword_linker_check.cpp | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 cmake/sword_linker_check.cpp (limited to 'cmake/sword_linker_check.cpp') 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 + +#include +#include +#include + +int main(int argc, char* argv[]) +{ + sword::SWMgr mgr; + sword::InstallMgr imgr; + sword::FTPTransport trans("example.com"); + + return 0; +} -- cgit v1.2.3