From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00,FUZZY_XPILL autolearn=no version=3.2.5 Date: Tue, 17 Nov 2009 01:05:43 +0500 From: Andrey Rahmatullin To: ALT Devel discussion list Message-ID: <20091116200543.GV6266@wrars-comp.wrarsdomain> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rU69LcPXgj7YUNol" Content-Disposition: inline X-Operating-System: ALT Linux Sisyphus X-Jabber-Id: wrar@altlinux.org User-Agent: Mutt/1.5.20 (2009-06-23) Subject: [devel] RFC: %cmake X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 20:05:50 -0000 Archived-At: List-Archive: List-Post: --rU69LcPXgj7YUNol Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: quoted-printable =FA=C4=D2=C1=D7=D3=D4=D7=D5=CA=D4=C5. =F0=CF =CD=CF=D4=C9=D7=C1=CD #22209 =D1 =D0=CC=C1=CE=C9=D2=D5=C0 =D7 2.8.0-= alt1 =C4=CF=C2=C1=D7=C9=D4=D8 =CD=C1=CB=D2=CF=D3=D9 =C4=CC=D1 =D7=D9=DA=CF= =D7=C1 cmake. =F0=D2=C9=C7=CC=C1=DB=C1=C0 =CF=C2=D3=D5=C4=C9=D4=D8 =D3=C4=C5=CC=C1= =CE=CE=D9=C5 =CD=CE=CF=C0 =D2=C5=DB=C5=CE=C9=D1. =ED=C1=CB=D2=CF=D3 %cmake =D3=CF=DA=C4=C1=A3=D4 =CB=C1=D4=C1=CC=CF=C7 BUILD= , =D7=D9=DA=D9=D7=C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D=C5=D3=D4=D7=C1, =CF=C6=C9=C3=C9=C1= =CC=D8=CE=CF =D3=DE=C9=D4=C1=C5=D4=D3=D1 =D0=D2=C5=C4=D0=CF=DE=D4=C9=D4=C5=CC=D8=CE=CF=CA, =D7 =D7 =CE=C5=CB=CF=D4= =CF=D2=D9=C8 =D0=D2=CF=C5=CB=D4=C1=C8 in-source =CD=CF=D6=C5=D4 =C2=D9=D4= =D8 =CF=D4=CB=CC=C0=DE=C5=CE =D7=CF=CF=C2=DD=C5. =F7 =D3=CC=D5=DE=C1=C5, =CB=CF=C7=C4=C1 out-of-source =CE=C5 =D2=C1=C2=CF= =D4=C1=C5=D4 (=CF=C2=D9=DE=CE=CF =C9=DA-=DA=C1 =CF=D4=CE=CF=D3=C9=D4=C5=CC= =D8=CE=D9=C8 =D0=D5=D4=C5=CA =D7 CMakeLists), =C1 =DE=C9=CE=C9=D4=D8 =CE=C5=CF=C8=CF=D4= =C1 (=C8=CF=D4=D1 =DC=D4=CF, =D7 =CF=C2=DD=C5=CD-=D4=CF, =D0=D2=D1=CD=C1=D1= =DA=C1=C4=C1=DE=C1 =CD=C1=CA=CE=D4=C5=CA=CE=C5=D2=C1), =CD=CF=D6=CE=CF =C9=D3=D0=CF=CC=D8=DA= =CF=D7=C1=D4=D8 =CD=C1=CB=D2=CF=D3 %cmake_insource, =CB=CF=D4=CF=D2=D9=CA, = =CB=C1=CB =CD=CF=D6=CE=CF =C4=CF=C7=C1=C4=C1=D4=D8=D3=D1, =D7=D9=DA=D9=D7=C1=C5=D4 cm= ake =D7 =CB=CF=D2=CE=C5. =E4=C5=C6=CF=CC=D4=CE=D9=C5 =C6=CC=C1=C7=C9 cmake: -DCMAKE_SKIP_RPATH:BOOL=3Dyes -DCMAKE_BUILD_TYPE=3DMinSizeRel -DCMAKE_C_FLAGS:STRING=3D'%optflags' -DCMAKE_CXX_FLAGS:STRING=3D'%optflags' -DLIB_DESTINATION=3D%_lib %if "%_lib" =3D=3D "lib64" -DLIB_SUFFIX=3D"64" %else -DLIB_SUFFIX=3D"" %endif =F0=D2=C5=C4=CC=CF=D6=C5=CE=C9=D1 =D0=D2=C9=CE=C9=CD=C1=C0=D4=D3=D1. =EE=C1= =D0=CF=CD=CE=C0, =D3=CF=C7=CC=C1=D3=CE=CF /usr/share/CMake/Modules/Platform/gcc.cmake, MinSizeRel =D7=CB=CC=C0=DE=C1= =C5=D4 -Os, =C1 Release - -O3. =E9 =D0=CF=D3=CC=C5=C4=CE=C5=C5. =F3=C5=CA=DE=C1=D3, =CB =D3=CF=D6=C1=CC=C5= =CE=C9=C0, =CD=C1=CB=D2=CF=D3 %cmake =CF=D0=D2=C5=C4=C5=CC=A3=CE =D7 rpm-build-compat. =F3 =D0=D2=C9=C8=CF=C4=CF=CD =D7 =D3=C9=DA=C9=C6 =CE=CF= =D7=CF=C7=CF cmake =DC=D4=CF=D4 =D0=C1=CB=C5=D4 =C4=CF=CC=D6=C5=CE =C2=D9= =D4=D8 =C9=D3=D0=D2=C1=D7=CC=C5=CE, =D7 cmake =C2=D5=C4=C5=D4 =D0=CF=D3=D4=C1=D7= =CC=C5=CE =CB=CF=CE=C6=CC=C9=CB=D4 =CE=C1 =C5=C7=CF =D3=D4=C1=D2=D9=C5 =D7= =C5=D2=D3=C9=C9, =C1 =D7=D3=C5 =D0=C1=CB=C5=D4=D9, =D3=C5=CA=DE=C1=D3 =C9=D3=D0=CF=CC=D8=DA=D5=C0=DD=C9=C5= %cmake, =D3=CB=CF=D2=C5=C5 =D7=D3=C5=C7=CF =D3=CC=CF=CD=C1=C0=D4=D3=D1. = =FC=D4=CF =CE=CF=D2=CD=C1=CC=D8=CE=CF. --=20 WBR, wRAR (ALT Linux Team) Powered by the ALT Linux fortune(6): =EE=CF =DE=D4=CF-=CE=C9=C2=D5=C4=D8 =CF=C2=D1=DA=C1=D4=C5=CC=D8=CE=CF =D3= =CC=CF=CD=C1=C5=D4=D3=D1. -- ldv in devel@ --rU69LcPXgj7YUNol Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQEcBAEBCAAGBQJLAbCOAAoJEOih81koZvPB4uYH/RB/6lR6zD6jnZUgyX5ezZSZ sjQncFjOdqLHbXwliJqbLCG2zrGb2Uj9JUrk93dA6m4BTNegjPb73gNFqScW1Ysg eYXRIdGIiAK7dbat8OdsI9q12PHHPdGEte2VlafdcDb1K7GM8irLhjfV0P71JKJt Em1xfEYnsnfZ1BjqSt47hPvNjo1pO2Zp2QhpMiurvexQWxjP3CcKT4EU75oD3he8 vdrGAAiygaYaIvQjIBHINjPmWv3roNF0abqL7sZ5MEJla4Xw4a/Jf4lLvqYGN0wi 9kLSVH4maUoqfy496D1akxlEJCYHmUaJdnifBXJnq8qjYMsgujPFoaeqioB4okI= =oHu+ -----END PGP SIGNATURE----- --rU69LcPXgj7YUNol--