Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
corpus2
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
corpus2
Commits
f268d517
Commit
f268d517
authored
13 years ago
by
ilor
Browse files
Options
Downloads
Patches
Plain Diff
clean up swig CMakeLists, disable -W -Wall there to hide SWIG warnings
parent
43ff7c3f
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
+8
-5
8 additions, 5 deletions
swig/CMakeLists.txt
with
8 additions
and
5 deletions
swig/CMakeLists.txt
+
8
−
5
View file @
f268d517
...
...
@@ -2,15 +2,12 @@
PROJECT
(
corpus2SwigWrap
)
#find_package(Corpus2 1.0.8 REQUIRED)
set
(
CORPUS2_LIBS corpus2
)
#find_package(PwrUtils 1.0.1 REQUIRED)
set
(
PWRUTILS_LIBS pwrutils
)
set
(
CORPUS2_PWR_LIBS
${
CORPUS2_LIBS
}
${
PWRUTILS_LIBS
}
)
include_directories
(
${
Lib
corpus2_SOURCE_DIR
}
"../libcorpus2"
)
include_directories
(
${
Lib
pwrutils_SOURCE_DIR
}
"../libpwrutils"
)
include_directories
(
${
corpus2_SOURCE_DIR
}
)
include_directories
(
${
pwrutils_SOURCE_DIR
}
)
link_directories
(
${
Libcorpus2_BINARY_DIR
}
)
...
...
@@ -31,6 +28,12 @@ message(STATUS "INFO: " "python lib: ${PYTHON_INSTDIR}" )
INCLUDE_DIRECTORIES
(
${
PYTHON_INCLUDE_PATH
}
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_SOURCE_DIR
}
)
if
(
CMAKE_COMPILER_IS_GNUCXX
)
set
(
CMAKE_CXX_FLAGS
"-ansi $ENV{CXXFLAGS}"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-O0 -DDEBUG -ggdb3 -ansi $ENV{CXXFLAGS}"
)
set
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"-O2 -g -fno-omit-frame-pointer"
)
endif
(
CMAKE_COMPILER_IS_GNUCXX
)
# -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------
...
...
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