How to build a .deb file for CMake from source?

Andrew Wagner

How do you produce a .deb file for ubuntu from the CMake source code?

I already installed (hopefully most of) the build dependencies using apt:

sudo apt-get build-dep cmake

checked out the cmake repo using git:

git clone http://www.cmake.org/cmake.git

built cmake using the older cmake I already have:

cd cmake cmake . make

what next? This is surprisingly hard to google for; most people want to know how to package their own stuff ~with cmake. The CMake install instructions just specify a make install but dependency hell is bad enough ~with a package manager in my experience.

Tsyvarev

After building cmake, use cpack for generate deb package:

cpack -G DEB

It should be run from the build tree.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to build a .deb file from apt-get packages?

From Dev

How to build cmake-gui on Linux from source?

From Dev

How to create a .deb file from installed package?

From Dev

How to create a .deb file from installed package?

From Dev

How to make a binary or .deb from application built from source?

From Dev

How to create a .deb package from compiled source files?

From Dev

How to build Compiz from source?

From Dev

How to build a "file copy" RPM using cmake?

From Dev

How to build a DCMTK project file with CMake?

From Dev

How to build a "file copy" RPM using cmake?

From Dev

CMake: Is it possible to build an executable from only static libraries and no source?

From Dev

Can you get a Source RPM to build as a DEB?

From Dev

How to build zlib with cmake in out-of-source mode?

From Dev

What's the error as "CMAKE_BOOTSTRAP_BINARY_DIR" at a time as build CMake from a source code

From Dev

How does update work with programs installed from .deb file

From Dev

How does update work with programs installed from .deb file

From Dev

How to install recommend packages from a file (package.deb)?

From Dev

How to install recommend packages from a file (package.deb)?

From Java

Copy file from source directory to binary directory using CMake

From Dev

Packaging a CMake project (libRocket) into a .deb, but build script is in a sub folder

From Dev

How to build solr.tgz file from source using "ant package"

From Dev

How to build solr.tgz file from source using "ant package"

From Dev

maven: how to build the dependency from source.jar to jar files and put the jar file as it dependency?

From Dev

How do I build libcurl from source?

From Dev

How to build Chameleon bootloader from SVN source?

From Dev

How to build Chromium from source on OpenBSD?

From Dev

How do I build Unity from source?

From Dev

How do I build libcurl from source?

From Dev

Fullcalendar js how to build from source

Related Related

  1. 1

    How to build a .deb file from apt-get packages?

  2. 2

    How to build cmake-gui on Linux from source?

  3. 3

    How to create a .deb file from installed package?

  4. 4

    How to create a .deb file from installed package?

  5. 5

    How to make a binary or .deb from application built from source?

  6. 6

    How to create a .deb package from compiled source files?

  7. 7

    How to build Compiz from source?

  8. 8

    How to build a "file copy" RPM using cmake?

  9. 9

    How to build a DCMTK project file with CMake?

  10. 10

    How to build a "file copy" RPM using cmake?

  11. 11

    CMake: Is it possible to build an executable from only static libraries and no source?

  12. 12

    Can you get a Source RPM to build as a DEB?

  13. 13

    How to build zlib with cmake in out-of-source mode?

  14. 14

    What's the error as "CMAKE_BOOTSTRAP_BINARY_DIR" at a time as build CMake from a source code

  15. 15

    How does update work with programs installed from .deb file

  16. 16

    How does update work with programs installed from .deb file

  17. 17

    How to install recommend packages from a file (package.deb)?

  18. 18

    How to install recommend packages from a file (package.deb)?

  19. 19

    Copy file from source directory to binary directory using CMake

  20. 20

    Packaging a CMake project (libRocket) into a .deb, but build script is in a sub folder

  21. 21

    How to build solr.tgz file from source using "ant package"

  22. 22

    How to build solr.tgz file from source using "ant package"

  23. 23

    maven: how to build the dependency from source.jar to jar files and put the jar file as it dependency?

  24. 24

    How do I build libcurl from source?

  25. 25

    How to build Chameleon bootloader from SVN source?

  26. 26

    How to build Chromium from source on OpenBSD?

  27. 27

    How do I build Unity from source?

  28. 28

    How do I build libcurl from source?

  29. 29

    Fullcalendar js how to build from source

HotTag

Archive