summaryrefslogtreecommitdiff
path: root/src/tests/ector/cxx_compile_test
diff options
context:
space:
mode:
authorGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 10:45:20 -0200
committerGustavo Sverzut Barbieri <barbieri@profusion.mobi>2017-01-27 10:56:02 -0200
commit28960d78513f95204a75e86af817efb3a343e6b0 (patch)
treecac9ed5e4f393ac5d49000bc372a8c405d19e69f /src/tests/ector/cxx_compile_test
parentaea33c274a3ccf96f813411e5ccfb8279cbd6c7a (diff)
cmake: add ector.
Diffstat (limited to 'src/tests/ector/cxx_compile_test')
-rw-r--r--src/tests/ector/cxx_compile_test/cxx_compile_test.cxx34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/tests/ector/cxx_compile_test/cxx_compile_test.cxx b/src/tests/ector/cxx_compile_test/cxx_compile_test.cxx
new file mode 100644
index 0000000..091757a
--- /dev/null
+++ b/src/tests/ector/cxx_compile_test/cxx_compile_test.cxx
@@ -0,0 +1,34 @@
1/* EINA - EFL data type library
2 * Copyright (C) 2012 ProFUSION embedded systems
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library;
16 * if not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifdef HAVE_CONFIG_H
20# include "config.h"
21#endif
22
23#include "Ector.h"
24
25#include <iostream>
26using namespace std;
27
28int main()
29{
30 ector_init();
31 cout << "Ector compiles with C++!";
32 ector_shutdown();
33 return 0;
34}