ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Grigory Batalov <bga@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] %optflags и qmake
Date: Fri, 26 May 2006 12:43:22 +0400
Message-ID: <20060526124322.41d8c74d.bga@altlinux.ru> (raw)
In-Reply-To: <4476B41E.6000802@rambler.ru>

On Fri, 26 May 2006 11:54:06 +0400
Yury Aliaev <mutab0r@rambler.ru> wrote:

> 2) Ещё оказалось, что если в проекте имеется несколько подчинённых .pro 
> файлов, то CXXFLAGS нужно прописывать во _всех_, а не только в файле 
> верхнего уровня. В этой связи у меня возник ВОПРОС: как лучше всего 
> добавить строчку вида QMAKE_CXXFLAGS_RELEASE = ... во _все_ .pro файлы 
> проекта (добавлять можно в любое место файла, удобнее всего, наверное, в 
> конец)? Я пытался соорудить некую конструкцию из find -name *.pro, xargs 
> и echo, но безуспешно...

  Можно во все файлы добавить

exists (../project.defs):include(../project.defs)

  и описать QMAKE_CXXFLAGS_RELEASE один раз в project.defs

-- 
 Григорий Баталов,
 программист
 ЗАО "Ланит-Терком"


  parent reply	other threads:[~2006-05-26  8:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-18 10:46 Yury Aliaev
2006-05-18 12:01 ` Sergey V Turchin
2006-05-25  8:37   ` Yury Aliaev
2006-05-25 10:07     ` Sergey V Turchin
2006-05-26  7:54       ` Yury Aliaev
2006-05-26  7:57         ` Slava Semushin
2006-05-26  8:43         ` Grigory Batalov [this message]
2006-05-26 11:43           ` Yury Aliaev
2006-05-26 13:26             ` Grigory Batalov
2006-05-29  9:37               ` Yury Aliaev

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=20060526124322.41d8c74d.bga@altlinux.ru \
    --to=bga@altlinux.ru \
    --cc=devel@lists.altlinux.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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git