Creating .pet package using cmake

Using applications, configuring, problems
Post Reply
Message
Author
panda_watch
Posts: 32
Joined: Wed 09 May 2007, 07:51

Creating .pet package using cmake

#1 Post by panda_watch »

Hi, does anyone know how to make a .pet package using cmake, given that new2dir doesn't play to well with cmake?

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#2 Post by technosaurus »

usually cmake <the_cmake_file> will make a proper makefile

otherwise

cmake --help-command install

tells you to do something like this

cmake INSTALL(TARGETS mySharedLib DESTINATION /some/full/path)

...seems like I have used something like DESTDIR=`pwd`-i486
(DESTDIR is at least for regular make and usually works with waf and python builds too)
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

Post Reply