Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
abseil-cpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
abseil-cpp
Commits
89ea0c5f
Unverified
Commit
89ea0c5f
authored
Jan 28, 2019
by
ahedberg
Committed by
GitHub
Jan 28, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #255 from uilianries/hotfix/conan
#250 Fix library order for Conan package
parents
5e0dcf72
7ec32703
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
38 deletions
+6
-38
conanfile.py
+6
-38
No files found.
conanfile.py
View file @
89ea0c5f
...
@@ -38,46 +38,14 @@ class AbseilConan(ConanFile):
...
@@ -38,46 +38,14 @@ class AbseilConan(ConanFile):
def
package
(
self
):
def
package
(
self
):
self
.
copy
(
"LICENSE"
,
dst
=
"licenses"
)
self
.
copy
(
"LICENSE"
,
dst
=
"licenses"
)
self
.
copy
(
"*.h"
,
dst
=
"include"
,
src
=
"
absl
"
)
self
.
copy
(
"*.h"
,
dst
=
"include"
,
src
=
"
.
"
)
self
.
copy
(
"*.inc"
,
dst
=
"include"
,
src
=
"
absl
"
)
self
.
copy
(
"*.inc"
,
dst
=
"include"
,
src
=
"
.
"
)
self
.
copy
(
"*.a"
,
dst
=
"lib"
,
src
=
"."
,
keep_path
=
False
)
self
.
copy
(
"*.a"
,
dst
=
"lib"
,
src
=
"."
,
keep_path
=
False
)
self
.
copy
(
"*.lib"
,
dst
=
"lib"
,
src
=
"."
,
keep_path
=
False
)
self
.
copy
(
"*.lib"
,
dst
=
"lib"
,
src
=
"."
,
keep_path
=
False
)
def
package_info
(
self
):
def
package_info
(
self
):
self
.
cpp_info
.
libs
=
[
"absl_base"
,
"absl_synchronization"
,
"absl_strings"
,
"absl_symbolize"
,
"absl_malloc_internal"
,
"absl_time"
,
"absl_strings"
,
"absl_base"
,
"absl_dynamic_annotations"
,
"absl_spinlock_wait"
,
"absl_throw_delegate"
,
"absl_stacktrace"
,
"absl_int128"
,
"absl_span"
,
"test_instance_tracker_lib"
,
"absl_stack_consumption"
,
"absl_bad_any_cast"
,
"absl_hash"
,
"str_format_extension_internal"
,
"absl_failure_signal_handler"
,
"absl_str_format"
,
"absl_numeric"
,
"absl_any"
,
"absl_optional"
,
"absl_container"
,
"absl_debugging"
,
"absl_memory"
,
"absl_leak_check"
,
"absl_meta"
,
"absl_utility"
,
"str_format_internal"
,
"absl_variant"
,
"absl_examine_stack"
,
"absl_bad_optional_access"
,
"absl_algorithm"
]
if
self
.
settings
.
os
==
"Linux"
:
if
self
.
settings
.
os
==
"Linux"
:
self
.
cpp_info
.
libs
.
append
(
"pthread"
)
self
.
cpp_info
.
libs
=
[
"-Wl,--start-group"
]
self
.
cpp_info
.
libs
.
extend
(
tools
.
collect_libs
(
self
))
if
self
.
settings
.
os
==
"Linux"
:
self
.
cpp_info
.
libs
.
extend
([
"-Wl,--end-group"
,
"pthread"
])
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment