Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to cmake?
Date: Thu, 26 Aug 2021 14:59:56
Message-Id: 4644405.GXAFRqVoOG@wstn
In Reply to: Re: [gentoo-user] How to cmake? by tastytea
1 On Thursday, 26 August 2021 15:39:53 BST tastytea wrote:
2
3 > Don't run cmake in src/, run it in the directory src is in.
4
5 I have been doing so.
6
7 --->8
8
9 > # This configures the build (checks for dependencies and so on)
10 > cmake -S . -B build
11 > # This compiles the sources
12 > cmake --build build
13 >
14 > The binary is in ./build/src/kdfm – you can install it globally with
15 > sudo cmake --install build
16
17 Excellent! Many thanks, kind Sir!
18
19 Aside: how much training and experience would be needed to reach that
20 level of competence?
21
22 --
23 Regards,
24 Peter.

Replies

Subject Author
Re: [gentoo-user] How to cmake? tastytea <gentoo@××××××××.de>