Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
ba4b9820
There was an error fetching the commit references. Please try again later.
Commit
ba4b9820
authored
6 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
Fixed linking to libbfd
parent
3b8221c9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+4
-4
4 additions, 4 deletions
CMakeLists.txt
src/TNL/CMakeLists.txt
+3
-0
3 additions, 0 deletions
src/TNL/CMakeLists.txt
with
7 additions
and
4 deletions
CMakeLists.txt
+
4
−
4
View file @
ba4b9820
...
...
@@ -79,18 +79,18 @@ endif()
# set Debug/Release options
set
(
CMAKE_CXX_FLAGS
"-std=c++11 -pthread -Wall -Wno-unused-local-typedefs -Wno-unused-variable"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g
-DPACKAGE -DPACKAGE_VERSION
"
)
set
(
CMAKE_CXX_FLAGS_DEBUG
"-g"
)
set
(
CMAKE_CXX_FLAGS_RELEASE
"-O3 -march=native -mtune=native -DNDEBUG"
)
#set( CMAKE_CXX_FLAGS_RELEASE "-O3 -march=native -mtune=native -DNDEBUG -ftree-vectorizer-verbose=1 -ftree-vectorize -fopt-info-vec-missed -funroll-loops" )
# pass -rdynamic only in Debug mode
set
(
CMAKE_SHARED_LIBRARY_LINK_C_FLAGS
""
)
set
(
CMAKE_SHARED_LIBRARY_LINK_C_FLAGS_DEBUG
"-rdynamic
-lbfd
"
)
set
(
CMAKE_SHARED_LIBRARY_LINK_C_FLAGS_DEBUG
"-rdynamic"
)
set
(
CMAKE_SHARED_LIBRARY_LINK_C_FLAGS_RELEASE
""
)
set
(
CMAKE_EXE_LINKER_FLAGS
""
)
set
(
CMAKE_EXE_LINKER_FLAGS_DEBUG
"-rdynamic
-lbfd
"
)
set
(
CMAKE_EXE_LINKER_FLAGS_DEBUG
"-rdynamic"
)
set
(
CMAKE_EXE_LINKER_FLAGS_RELEASE
""
)
set
(
CMAKE_SHARED_LINKER_FLAGS
""
)
set
(
CMAKE_SHARED_LINKER_FLAGS_DEBUG
"-rdynamic
-lbfd
"
)
set
(
CMAKE_SHARED_LINKER_FLAGS_DEBUG
"-rdynamic"
)
set
(
CMAKE_SHARED_LINKER_FLAGS_RELEASE
""
)
get_filename_component
(
CXX_COMPILER_NAME
${
CMAKE_CXX_COMPILER
}
NAME
)
...
...
This diff is collapsed.
Click to expand it.
src/TNL/CMakeLists.txt
+
3
−
0
View file @
ba4b9820
...
...
@@ -98,6 +98,9 @@ SET_TARGET_PROPERTIES( tnl PROPERTIES
TARGET_LINK_LIBRARIES
(
tnl
${
DCMTK_LIBRARIES
}
)
# libbfd needed for backtrace2line
target_link_libraries
(
tnl debug bfd
)
INSTALL
(
TARGETS tnl DESTINATION lib
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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