Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
JPSvis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
Show more breadcrumbs
JuPedSim
JPSvis
Commits
7e13396e
Commit
7e13396e
authored
8 years ago
by
Mohcine Chraibi
Browse files
Options
Downloads
Patches
Plain Diff
deb for linux
parent
ded898d6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+26
-1
26 additions, 1 deletion
CMakeLists.txt
with
26 additions
and
1 deletion
CMakeLists.txt
+
26
−
1
View file @
7e13396e
...
...
@@ -381,13 +381,14 @@ SET(DIRS ${QT_LIBRARY_DIRS})
# An alternative is the do a configure_file() on a script and use install(SCRIPT ...).
# Note that the image plugins depend on QtSvg and QtXml, and it got those copied
# over.
if
(
APPLE
)
INSTALL
(
CODE
"
file(GLOB_RECURSE QTPLUGINS
\"\$
{CMAKE_INSTALL_PREFIX}/
${
plugin_dest_dir
}
/plugins/*
${
CMAKE_SHARED_LIBRARY_SUFFIX
}
\"
)
include(BundleUtilities)
fixup_bundle(
\"
${
APPS
}
\"
\"\$
{QTPLUGINS}
\"
\"
${
DIRS
}
\"
)
"
COMPONENT Runtime
)
endif
()
IF
(
APPLE
)
# set how it shows up in the Info.plist file
...
...
@@ -426,6 +427,30 @@ if(APPLE)
set
(
CPACK_DMG_VOLUME_NAME
"
${
PROJECT_NAME
}
"
)
set
(
CPACK_SYSTEM_NAME
"OSX"
)
set
(
CPACK_PACKAGE_FILE_NAME
"
${
PROJECT_NAME
}
-
${
JPSVIS_VERSION
}
"
)
elseif
(
UNIX
)
# tested with success in
# Linux dhcppc5 3.2.0-4-686-pae #1 SMP Debian 3.2.68-1+deb7u2 i686 GNU/Linux
set
(
CPACK_SYSTEM_NAME
"
${
CMAKE_SYSTEM_NAME
}
-
${
CMAKE_SYSTEM_PROCESSOR
}
"
)
SET
(
CPACK_GENERATOR
"DEB"
)
SET
(
CPACK_PACKAGE_DESCRIPTION
"Visualisation module for JuPedSim"
)
SET
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"Visualisation module for JuPedSim, a framework for simulation and analysis of pedestrian dynamics"
)
#SET(CPACK_PACKAGE_VENDOR "nowardev")
SET
(
CPACK_PACKAGE_CONTACT
"m.chraibi@fz-juelich.de"
)
SET
(
CPACK_PACKAGE_VERSION_MAJOR
"
${
JPSVIS_MAJOR_VERSION
}
"
)
SET
(
CPACK_PACKAGE_VERSION_MINOR
"
${
JPSVIS_MINOR_VERSION
}
"
)
SET
(
CPACK_PACKAGE_VERSION_PATCH
"
${
JPSVIS_PATCH_VERSION
}
"
)
SET
(
CPACK_PACKAGE_FILE_NAME
"
${
CMAKE_PROJECT_NAME
}
_
${
JPSVIS_VERSION
}
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
CMAKE_PROJECT_NAME
}
_
${
JPSVIS_VERSION
}
"
)
#SET(CPACK_DEBIAN_PACKAGE_DEPENDS " Boost (>= 1.59) ")
SET
(
CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON
)
SET
(
CPACK_DEBIAN_PACKAGE_HOMEPAGE
"http://jupedsim.org"
)
SET
(
CPACK_DEBIAN_PACKAGE_SUGGESTS,
"jpseditor, jpsreport, jpscore"
)
SET
(
CPACK_DEBIAN_PACKAGE_PRIORITY
"optional"
)
SET
(
CPACK_DEBIAN_PACKAGE_SECTION
"science"
)
SET
(
CPACK_DEBIAN_ARCHITECTURE
${
CMAKE_SYSTEM_PROCESSOR
}
)
endif
()
include
(
CPack
)
...
...
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