unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Andreas Enge <andreas@enge.fr>
To: guix-devel@gnu.org
Subject: Cmake build system and build directories
Date: Mon, 25 Nov 2013 23:22:01 +0100	[thread overview]
Message-ID: <20131125222201.GA14911@debian> (raw)

Hello,

my kdelibs package currently fails with the following message:

CMake Error at cmake/modules/MacroEnsureOutOfSourceBuild.cmake:17 (MESSAGE):
  kdelibs requires an out of source build.  Please create a separate build
  directory and run 'cmake path_to_kdelibs [options]' there.
Call Stack (most recent call first):
  CMakeLists.txt:157 (macro_ensure_out_of_source_build)

I think it is simply a matter of replacing in
   cmake-build-system.scm (configure)
the call to
   cmake
by
   mkdir build
   cd build
   cmake ..
(appropriately guilified).

What do you think, if this is a solution, should we maybe globally modify
the cmake build system to always build in a separate directory?

Andreas

             reply	other threads:[~2013-11-25 22:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25 22:22 Andreas Enge [this message]
2013-11-25 22:41 ` Cmake build system and build directories Ludovic Courtès
2013-11-26  7:50   ` Andreas Enge
2013-11-26 15:11     ` Ludovic Courtès
2013-11-27 23:16       ` Ludovic Courtès
2013-11-27 23:40         ` Andreas Enge

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

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131125222201.GA14911@debian \
    --to=andreas@enge.fr \
    --cc=guix-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).