Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
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
libcifpp
Commits
7197dd87
Unverified
Commit
7197dd87
authored
Aug 22, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove pkgconfig support
parent
818dc2f9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
11 additions
and
33 deletions
+11
-33
CMakeLists.txt
+0
-12
examples/CMakeLists.txt
+8
-0
examples/example.cpp
+3
-0
examples/makefile
+0
-8
libcifpp.pc.in
+0
-13
No files found.
CMakeLists.txt
View file @
7197dd87
...
...
@@ -412,18 +412,6 @@ write_basic_package_version_file(
COMPATIBILITY AnyNewerVersion
)
# pkgconfig support
set
(
prefix
${
CMAKE_INSTALL_PREFIX
}
)
set
(
exec_prefix
${
CMAKE_INSTALL_PREFIX
}
)
set
(
libdir
${
CMAKE_INSTALL_PREFIX
}
/
${
CMAKE_INSTALL_LIBDIR
}
)
set
(
includedir
${
CMAKE_INSTALL_PREFIX
}
/
${
CMAKE_INSTALL_INCLUDEDIR
}
)
configure_file
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/libcifpp.pc.in
${
CMAKE_CURRENT_BINARY_DIR
}
/libcifpp.pc.in @ONLY
)
file
(
GENERATE OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/libcifpp.pc
INPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/libcifpp.pc.in
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/libcifpp.pc DESTINATION
${
CMAKE_INSTALL_LIBDIR
}
/pkgconfig
)
if
(
ENABLE_TESTING
)
enable_testing
()
...
...
examples/CMakeLists.txt
0 → 100644
View file @
7197dd87
cmake_minimum_required
(
VERSION 3.15
)
project
(
cifpp_example LANGUAGES CXX
)
find_package
(
cifpp REQUIRED
)
add_executable
(
example example.cpp
)
target_link_libraries
(
example cifpp::cifpp
)
\ No newline at end of file
examples/example.cpp
View file @
7197dd87
...
...
@@ -8,7 +8,10 @@ namespace fs = std::filesystem;
int
main
(
int
argc
,
char
*
argv
[])
{
if
(
argc
!=
2
)
{
std
::
cerr
<<
"Usage: example <inputfile>"
<<
std
::
endl
;
exit
(
1
);
}
cif
::
file
file
=
cif
::
pdb
::
read
(
argv
[
1
]);
...
...
examples/makefile
deleted
100644 → 0
View file @
818dc2f9
CXX
=
c++
-std
=
c++17
CXXFLAGS
=
$(
shell
pkg-config
--cflags
libcifpp
)
LIBS
=
$(
shell
pkg-config
--libs
libcifpp
)
all
:
example
example
:
example.cpp
$(CXX)
-o
$@
$?
$(CXXFLAGS)
$(LIBS)
libcifpp.pc.in
deleted
100644 → 0
View file @
818dc2f9
prefix
=
@prefix
@
exec_prefix=
@exec_prefix@
libdir=
@libdir@
includedir=
@includedir@
datalibdir=
@datarootdir@/libcifpp
Name:
libcifpp
Description:
C++
library
for
the
manipulation
of
mmCIF
files
.
Version:
@PACKAGE_VERSION@
Requires:
zlib
Libs:
-L$
{
libdir
}
-lcifpp
Cflags:
-I$
{
includedir
}
-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