Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libmueb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
JetBrains YouTrack
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
KSZK
Schönherz Mátrix
libmueb
Commits
b7ff9d11
Commit
b7ff9d11
authored
4 years ago
by
bodzsoaa
Browse files
Options
Downloads
Patches
Plain Diff
Add conan support
parent
5fcdf782
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
+5
-0
5 additions, 0 deletions
CMakeLists.txt
conanfile.py
+42
-0
42 additions, 0 deletions
conanfile.py
with
47 additions
and
0 deletions
CMakeLists.txt
+
5
−
0
View file @
b7ff9d11
...
...
@@ -16,6 +16,11 @@ set(CMAKE_CXX_STANDARD 17)
set
(
CMAKE_CXX_STANDARD_REQUIRED ON
)
set
(
CMAKE_CXX_EXTENSIONS OFF
)
set
(
CMAKE_DEBUG_POSTFIX _d
)
include
(
conanbuildinfo.cmake
)
conan_basic_setup
()
find_package
(
Qt6
COMPONENTS Core Gui Network Concurrent
...
...
This diff is collapsed.
Click to expand it.
conanfile.py
0 → 100644
+
42
−
0
View file @
b7ff9d11
from
conans
import
ConanFile
,
CMake
class
LibmuebConan
(
ConanFile
):
name
=
"
libmueb
"
version
=
"
4.0
"
description
=
"
Schönherz Mátrix network library written in C++ using Qt
"
url
=
"
https://git.sch.bme.hu/matrix-group/libmueb-qt
"
license
=
"
LGPL-3.0-or-later
"
author
=
"
Zsombor Bodnár (bodzsoaa@sch.bme.hu)
"
topics
=
(
"
C++
"
,
"
Qt 6
"
,
"
Schönherz Mátrix
"
)
settings
=
"
os
"
,
"
compiler
"
,
"
build_type
"
,
"
arch
"
options
=
{
"
shared
"
:
[
True
],
"
fPIC
"
:
[
True
]}
default_options
=
{
"
shared
"
:
True
,
"
fPIC
"
:
True
}
requires
=
"
qt/[^6.0.0]@bincrafters/stable
"
generators
=
"
cmake
"
exports_sources
=
"
CMakeLists.txt
"
,
"
!CMakeLists.txt.user
"
,
"
include/*
"
,
"
src/*
"
def
configure
(
self
):
if
self
.
settings
.
compiler
==
"
Visual Studio
"
:
del
self
.
settings
.
compiler
.
runtime
def
config_options
(
self
):
if
self
.
settings
.
os
==
"
Windows
"
:
del
self
.
options
.
fPIC
def
build
(
self
):
cmake
=
CMake
(
self
)
cmake
.
configure
()
cmake
.
build
()
def
package
(
self
):
self
.
copy
(
"
*.h
"
,
dst
=
"
include
"
,
src
=
"
include
"
)
self
.
copy
(
"
*.lib
"
,
dst
=
"
lib
"
,
keep_path
=
False
)
self
.
copy
(
"
*.dll
"
,
dst
=
"
bin
"
,
keep_path
=
False
)
self
.
copy
(
"
*.dylib*
"
,
dst
=
"
lib
"
,
keep_path
=
False
)
self
.
copy
(
"
*.so
"
,
dst
=
"
lib
"
,
keep_path
=
False
)
self
.
copy
(
"
*.a
"
,
dst
=
"
lib
"
,
keep_path
=
False
)
def
package_info
(
self
):
self
.
cpp_info
.
release
.
libs
=
[
"
muebreceiver
"
,
"
muebtransmitter
"
]
self
.
cpp_info
.
debug
.
libs
=
[
"
muebreceiver_d
"
,
"
muebtransmitter_d
"
]
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