mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Building from a subfolder
@ 2015-12-08 15:40 Dörfler Florian
  2015-12-08 15:46 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Dörfler Florian @ 2015-12-08 15:40 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 930 bytes --]

Hello All

I am writing a ptxdist make file for the dlib library for our project and have the following problem:

Dlib supports a cmake build, but there is no CMakeLists.txt in the top level directory. One is supposed to call cmake with a subfolder of the extracted archive to build the library.

So my question is: Is there a way to make ptxdist call cmake with a subfolder of the unpacked source?

I tried setting DLIB_DIR in dlib.make to the subfolder, but that would break the unpacking. I also tried to add a simple CMakeLists.txt to the root folder, but that changes the cmake variable CMAKE_SOURCE_DIR to the top level directory which breaks the cmake build.

I use ptxdist 2015.02.0

Cheers Florian

--
Florian Dörfler, Development Engineer
Direct +41 (0)43 456 16 01  *  Phone +41 (0)43 456 16 00  *  www.scs.ch<http://www.scs.ch/>
Supercomputing Systems AG  *  Technoparkstrasse 1  *  CH-8005 Zürich


[-- Attachment #1.2: Type: text/html, Size: 5413 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-12-08 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-08 15:40 [ptxdist] Building from a subfolder Dörfler Florian
2015-12-08 15:46 ` Michael Olbrich
2015-12-08 16:12   ` Dörfler Florian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox