File tree Expand file tree Collapse file tree 3 files changed +26
-13
lines changed
py_port/interface/py_port Expand file tree Collapse file tree 3 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 99# External dependencies
1010#
1111
12- # SWIG
13- find_package (SWIG REQUIRED)
14-
15- if (NOT SWIG_FOUND)
16- message (STATUS "Swig not found" )
17- return ()
18- endif ()
19-
20- include (${SWIG_USE_FILE} )
21-
2212# MetaCall Library
2313find_package (MetaCall REQUIRED)
2414
@@ -30,11 +20,30 @@ endif()
3020include_directories (${METACALL_INCLUDE_DIRS} )
3121
3222#
33- # Port languages
23+ # Port languages (Standalone)
3424#
3525
36- add_subdirectory (cs_port)
3726add_subdirectory (cxx_port)
27+
28+ #
29+ # External dependencies
30+ #
31+
32+ # SWIG
33+ find_package (SWIG)
34+
35+ if (NOT SWIG_FOUND)
36+ message (STATUS "Swig not found" )
37+ return ()
38+ endif ()
39+
40+ include (${SWIG_USE_FILE} )
41+
42+ #
43+ # Port languages (Swig)
44+ #
45+
46+ add_subdirectory (cs_port)
3847add_subdirectory (d_port)
3948add_subdirectory (go_port)
4049add_subdirectory (java_port)
Original file line number Diff line number Diff line change 4545
4646 %init
4747 %{
48+ metacall_log_stdio_type log_stdio = { stdout };
49+
50+ (void )metacall_log (METACALL_LOG_STDIO, (void *)&log_stdio);
51+
4852 metacall_initialize ();
4953 %}
5054
You can’t perform that action at this time.
0 commit comments