Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
b0d538b6
Commit
b0d538b6
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Patches
Plain Diff
wccl swig wrappers: fix cmake to depend on all .i files and clean up a bit
parent
9914b43d
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swig/CMakeLists.txt
+4
-29
4 additions, 29 deletions
swig/CMakeLists.txt
with
4 additions
and
29 deletions
swig/CMakeLists.txt
+
4
−
29
View file @
b0d538b6
...
@@ -38,6 +38,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
...
@@ -38,6 +38,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"-O2 -g -fno-omit-frame-pointer"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"-O2 -g -fno-omit-frame-pointer"
)
endif
(
CMAKE_COMPILER_IS_GNUCXX
)
endif
(
CMAKE_COMPILER_IS_GNUCXX
)
file
(
GLOB_RECURSE I_FILES
"*.i"
)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
...
@@ -48,6 +50,7 @@ SET(SWIG_SRC_DIR ${SWIG_DIR}/wccl)
...
@@ -48,6 +50,7 @@ SET(SWIG_SRC_DIR ${SWIG_DIR}/wccl)
# wccl
# wccl
SET_SOURCE_FILES_PROPERTIES
(
wccl.i PROPERTIES CPLUSPLUS ON
)
SET_SOURCE_FILES_PROPERTIES
(
wccl.i PROPERTIES CPLUSPLUS ON
)
SET_SOURCE_FILES_PROPERTIES
(
wccl.i PROPERTIES SWIG_FLAGS
"-includeall"
)
SET_SOURCE_FILES_PROPERTIES
(
wccl.i PROPERTIES SWIG_FLAGS
"-includeall"
)
set
(
SWIG_MODULE_wccl_EXTRA_DEPS
${
I_FILES
}
)
SWIG_ADD_MODULE
(
wccl python wccl.i
)
SWIG_ADD_MODULE
(
wccl python wccl.i
)
SWIG_LINK_LIBRARIES
(
wccl
${
PYTHON_LIBRARIES
}
${
CORPUS2_PWR_WCCL_LIBS
}
antlr-pic
)
SWIG_LINK_LIBRARIES
(
wccl
${
PYTHON_LIBRARIES
}
${
CORPUS2_PWR_WCCL_LIBS
}
antlr-pic
)
...
@@ -92,35 +95,7 @@ install(
...
@@ -92,35 +95,7 @@ install(
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
install
(
install
(
FILES libcclactionexeccontext.i
FILES
${
I_FILES
}
libcclannotationmatch.i
libcclbool.i
libcclexpression.i
libcclfunctionaloperator.i
libcclfunctionalopsequence.i
libccllexicon.i
libccllexicons.i
libcclmatchdata.i
libcclmatch.i
libcclmatchrule.i
libcclmatchrulesequence.i
libcclmatchvector.i
libccloperator.i
libcclparsedexpression.i
libcclparser.i
libcclposition.i
libcclsentencecontext.i
libcclstrset.i
libccltagaction.i
libccltagrule.i
libccltagrulesequence.i
libccltokenmatch.i
libccltset.i
libcclvalue.i
libcclvariables.i
libcclwcclfile.i
libcclwcclfileopsections.i
wccl.i
DESTINATION
${
SWIG_SRC_DIR
}
DESTINATION
${
SWIG_SRC_DIR
}
PERMISSIONS
${
PERM_SCRIPTS
}
PERMISSIONS
${
PERM_SCRIPTS
}
)
)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment