[pcre-dev] relative paths in CMakeCache.txt and CMake builds…

Kezdőlap
Üzenet törlése
Szerző: George Shimanovich
Dátum:  
Címzett: Pcre-dev
Tárgy: [pcre-dev] relative paths in CMakeCache.txt and CMake builds (both Windows and UNIX)
Can relative paths be used to set PCRE_BINARY_DIR, PCRE_SOURCE_DIR,
CMAKE_CACHEFILE_DIR, CMAKE_HOME_DIRECTORY variables in CMakeCache.txt in
build directory? If "yes" should relative path be specified relative to
location of the project file - for Windows builds? I assume that is the
answer as Visual Studio interprets directories relative to location of
the project file. Similar changes will need to be done in
DartTestfile.txt. Are there other files that need to be modified?

After edited these two .txt files to different absolute path the Visual
Studio build reported no warnings. Before switching to relative paths I
wanted to check with the list.

It would be nice if CMakeSetup configuration allowed use of relative
paths for pcre/pcrecpp builds - on both Windows and UNIX platforms. Then
the above hacking would not be necessary.

- George















******************Legal Disclaimer***************************
"This communication may contain confidential and privileged material
for the sole use of the intended recipient.  Any unauthorized review,
use or distribution by others is strictly prohibited.  If you have
received the message in error, please advise the sender by reply
email and delete the message. Thank you."
****************************************************************From silvermoonwoman@??? Wed Jan 16 23:10:47 2008
Envelope-to: pcre-dev@???
Received: from qmta07.emeryville.ca.mail.comcast.net ([76.96.30.64]:49795)
    by tahini.csx.cam.ac.uk with esmtp (Exim 4.69)
    (envelope-from <silvermoonwoman@???>) id 1JFHP7-0001WF-9Q
    for pcre-dev@???; Wed, 16 Jan 2008 23:10:47 +0000
Received: from OMTA01.emeryville.ca.mail.comcast.net ([76.96.30.11])
    by QMTA07.emeryville.ca.mail.comcast.net with comcast
    id dxzh1Y00J0EPcho0A08M00; Wed, 16 Jan 2008 23:10:39 +0000
Received: from [127.0.0.1] ([24.127.127.109])
    by OMTA01.emeryville.ca.mail.comcast.net with comcast
    id dzA51Y00K2MkxpC8M00000; Wed, 16 Jan 2008 23:10:21 +0000
X-Authority-Analysis: v>0 c0a?3Yeg-c78EA:10 a?nuIckBiciT_6AgglwA:9
    a?fpzA8FjshIzaR8hLOm1tRGr1UA:4 a?mPKh5NLbsA:10
Message-ID: <478E8EE1.50805@???>
Date: Wed, 16 Jan 2008 18:10:25 -0500
From: Sheri <silvermoonwoman@???>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: pcre-dev@???
References: <D7E9043580617245870D12CC23E21F8DE31DB7@???>
In-Reply-To: <D7E9043580617245870D12CC23E21F8DE31DB7@???>
Content-Type: text/plain; charset?O-8859-1; format\owed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.3 (/)
X-Spam-Status: No, score.3 required~0 tests?L.108, BAYES_00?.5,
    DNS_FROM_RFC_POST>708 autolearnO version^1.8
Subject: Re: [pcre-dev] relative paths in CMakeCache.txt and CMake builds
 (both    Windows and UNIX)
X-BeenThere: pcre-dev@???
X-Mailman-Version: 2.1.7
Precedence: list
List-Id: PCRE Development <pcre-dev.exim.org>
List-Unsubscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
    <mailto:pcre-dev-request@exim.org?subject?subscribe>
List-Archive: <http://lists.exim.org/lurker/list/pcre-dev.html>
List-Post: <mailto:pcre-dev@exim.org>
List-Help: <mailto:pcre-dev-request@exim.org?subject?lp>
List-Subscribe: <http://lists.exim.org/mailman/listinfo/pcre-dev>,
    <mailto:pcre-dev-request@exim.org?subject?bscribe>
X-List-Received-Date: Wed, 16 Jan 2008 23:10:47 -0000


George Shimanovich wrote:
> Can relative paths be used to set PCRE_BINARY_DIR, PCRE_SOURCE_DIR,
> CMAKE_CACHEFILE_DIR, CMAKE_HOME_DIRECTORY variables in CMakeCache.txt in
> build directory? If "yes" should relative path be specified relative to
> location of the project file - for Windows builds? I assume that is the
> answer as Visual Studio interprets directories relative to location of
> the project file. Similar changes will need to be done in
> DartTestfile.txt. Are there other files that need to be modified?
>
> After edited these two .txt files to different absolute path the Visual
> Studio build reported no warnings. Before switching to relative paths I
> wanted to check with the list.
>
> It would be nice if CMakeSetup configuration allowed use of relative
> paths for pcre/pcrecpp builds - on both Windows and UNIX platforms. Then
> the above hacking would not be necessary.
>
> - George
>
>
>

Hi George,

When I use Cmakesetup, I tick "Show Advanced Values". There are several
additional settings that become available including some relative path
settings (which I haven't tried, but likely do what you want). I always
choose "CMAKE_VERBOSE_MAKEFILE".

Regards,
Sheri