From: "Dörfler Florian" <Florian.Doerfler@scs.ch>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Building from a subfolder
Date: Tue, 8 Dec 2015 16:40:22 +0100 [thread overview]
Message-ID: <E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96@Exchange.scs-ad.scs.ch> (raw)
[-- 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
next reply other threads:[~2015-12-08 15:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-08 15:40 Dörfler Florian [this message]
2015-12-08 15:46 ` Michael Olbrich
2015-12-08 16:12 ` Dörfler Florian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96@Exchange.scs-ad.scs.ch \
--to=florian.doerfler@scs.ch \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox