From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.scs.ch ([212.203.110.165]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1a6KNU-00063G-CX for ptxdist@pengutronix.de; Tue, 08 Dec 2015 16:40:34 +0100 Received: from exchange.scs-ad.scs.ch ([172.18.0.109]:4720) by mail.scs.ch with esmtps (TLSv1:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1a6KNM-0004DH-2D for ptxdist@pengutronix.de; Tue, 08 Dec 2015 16:40:24 +0100 From: =?iso-8859-1?Q?D=F6rfler_Florian?= Date: Tue, 8 Dec 2015 16:40:22 +0100 Message-ID: Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] Building from a subfolder List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0212335628==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============0212335628== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96Exchangescs_" --_000_E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96Exchangescs_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello All I am writing a ptxdist make file for the dlib library for our project and h= ave the following problem: Dlib supports a cmake build, but there is no CMakeLists.txt in the top leve= l directory. One is supposed to call cmake with a subfolder of the extracte= d archive to build the library. So my question is: Is there a way to make ptxdist call cmake with a subfold= er of the unpacked source? I tried setting DLIB_DIR in dlib.make to the subfolder, but that would brea= k the unpacking. I also tried to add a simple CMakeLists.txt to the root fo= lder, 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=F6rfler, Development Engineer Direct +41 (0)43 456 16 01 * Phone +41 (0)43 456 16 00 * www.scs.ch Supercomputing Systems AG * Technoparkstrasse 1 * CH-8005 Z=FCrich --_000_E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96Exchangescs_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello All

<= o:p> 

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

 

Dl= ib 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 t= o the top level directory which breaks the cmake build.

 

I use ptxdist 2015.02.0

 

Cheers Florian

<= p class=3DMsoNormal> 

--

Florian D=F6rfler, Development Engineer

Direct = +41 (0)43 456 16 01  =  Phone +41 (0)43 456 16 00  •  www.scs.ch=

Supercomputing System= s AG  •  Technoparkstrasse 1  •  CH-8005 Z=FCrich

&n= bsp;

= --_000_E0CB834DD9BF7546A8B709A96E2ECAC3015B9EA9FB96Exchangescs_-- --===============0212335628== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0212335628==--