Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
10f32a55
Commit
10f32a55
authored
Feb 12, 2009
by
Jonathan Beck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add CPack packaging.
parent
37f529e6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
8 deletions
+21
-8
CMakeLists.txt
CMakeLists.txt
+16
-1
CMakeLists.txt
include/CMakeLists.txt
+1
-1
CMakeLists.txt
plutil/CMakeLists.txt
+1
-2
CMakeLists.txt
src/CMakeLists.txt
+3
-4
No files found.
CMakeLists.txt
View file @
10f32a55
...
...
@@ -19,4 +19,19 @@ IF ( SWIG_FOUND AND PYTHON_LIBRARY )
ADD_SUBDIRECTORY
(
swig
)
ENDIF
(
SWIG_FOUND AND PYTHON_LIBRARY
)
CONFIGURE_FILE
(
"libplist.pc.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libplist.pc"
)
\ No newline at end of file
CONFIGURE_FILE
(
"libplist.pc.in"
"
${
CMAKE_CURRENT_BINARY_DIR
}
/libplist.pc"
)
SET
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"Library to parse and generate Apple's binary and XML PList format"
)
SET
(
CPACK_PACKAGE_DESCRIPTION_FILE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/README"
)
SET
(
CPACK_RESOURCE_FILE_LICENSE
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/COPYING.LESSER"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"0"
)
SET
(
CPACK_PACKAGE_VERSION_MINOR
"1"
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
"0"
)
SET
(
CPACK_COMPONENT_LIB_DISPLAY_NAME
"PList library"
)
SET
(
CPACK_COMPONENT_DEV_DISPLAY_NAME
"PList development files"
)
SET
(
CPACK_COMPONENT_PLUTIL_DISPLAY_NAME
"PList conversion tool"
)
set
(
CPACK_COMPONENT_DEV_DEPENDS lib
)
set
(
CPACK_COMPONENT_PLUTIL_DEPENDS lib
)
INCLUDE
(
CPack
)
include/CMakeLists.txt
View file @
10f32a55
INSTALL
(
FILES
${
CMAKE_CURRENT_SOURCE_DIR
}
/plist/plist.h
DESTINATION include/plist
)
DESTINATION include/plist
COMPONENT dev
)
plutil/CMakeLists.txt
View file @
10f32a55
...
...
@@ -5,5 +5,4 @@ SET(plutil_SRC
ADD_EXECUTABLE
(
plutil
${
plutil_SRC
}
)
TARGET_LINK_LIBRARIES
(
plutil plist
)
INSTALL
(
PROGRAMS
${
CMAKE_CURRENT_BINARY_DIR
}
/plutil
DESTINATION bin
)
INSTALL
(
TARGETS plutil RUNTIME DESTINATION bin COMPONENT plutil
)
\ No newline at end of file
src/CMakeLists.txt
View file @
10f32a55
...
...
@@ -11,7 +11,6 @@ ADD_LIBRARY( plist SHARED ${libplist_SRC} )
TARGET_LINK_LIBRARIES
(
plist
${
LIBXML2_LIBRARIES
}
${
GLIB2_LIBRARIES
}
)
INSTALL
(
TARGETS plist
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
RUNTIME DESTINATION bin COMPONENT lib
LIBRARY DESTINATION lib COMPONENT dev
ARCHIVE DESTINATION lib COMPONENT dev
)
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