[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cmake
Subject:    Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?
From:       Dvir Yitzchaki <Dvir.Yitzchaki () ceva-dsp ! com>
Date:       2018-07-15 7:26:47
Message-ID: d2030d6749ad418ea1634e1590e8e72c () ceva-dsp ! com
[Download RAW message or body]

I recommend using Hunter package manager:

https://docs.hunter.sh/en/latest/quick-start/boost-components.html



Regards,

Dvir



-----Original Message-----
From: CMake <cmake-bounces@cmake.org> On Behalf Of Innokentiy Alaytsev
Sent: Thursday, July 12, 2018 13:29
To: cmake@cmake.org
Subject: Re: [CMake] Boost + CMake + Windows + Sanity -> Possible?



Hello!



First of all, I suggest you use Boost imported targets instead of Boost_INC=
LUDE_DIRS and Boost_LIBRARY_DIRS and the

target_include_directories() and target_link_libraries() functions. Al this=
 is to better support exporting CMake package if you need it. If you do not=
 produce CMake package for use in some other projects, then just ignore thi=
s advice.



Second, just use  pre-built Boost binaries <https://dl.bintray.com/boostorg=
/release/1.67.0/binaries/>  . They are just fine. If your Windows Defender =
finds something in them then it's the problem in Windows Defender.



Best regards,

Innokentiy Alaytsev







--

Sent from: http://cmake.3232098.n2.nabble.com/

--



Powered by www.kitware.com<http://www.kitware.com>



Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.=
org/Wiki/CMake_FAQ



Kitware offers various services to support the CMake community. For more in=
formation on each offering, please visit:



CMake Support: http://cmake.org/cmake/help/support.html

CMake Consulting: http://cmake.org/cmake/help/consulting.html

CMake Training Courses: http://cmake.org/cmake/help/training.html



Visit other Kitware open-source projects at http://www.kitware.com/opensour=
ce/opensource.html



Follow this link to subscribe/unsubscribe:

https://cmake.org/mailman/listinfo/cmake

[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText">I recommend using Hunter package manager:<o:p></o:p></p>
<p class="MsoPlainText"><a \
href="https://docs.hunter.sh/en/latest/quick-start/boost-components.html">https://docs.hunter.sh/en/latest/quick-start/boost-components.html</a><o:p></o:p></p>
 <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Regards,<o:p></o:p></p>
<p class="MsoPlainText">Dvir<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">-----Original Message-----<br>
From: CMake &lt;cmake-bounces@cmake.org&gt; On Behalf Of Innokentiy Alaytsev<br>
Sent: Thursday, July 12, 2018 13:29<br>
To: cmake@cmake.org<br>
Subject: Re: [CMake] Boost &#43; CMake &#43; Windows &#43; Sanity -&gt; Possible?</p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Hello!<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">First of all, I suggest you use Boost imported targets \
instead of Boost_INCLUDE_DIRS and Boost_LIBRARY_DIRS and the<o:p></o:p></p> <p \
class="MsoPlainText">target_include_directories() and target_link_libraries() \
functions. Al this is to better support exporting CMake package if you need it. If \
you do not produce CMake package for use in some other projects, then just ignore \
this advice.<o:p></o:p></p> <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Second, just use&nbsp; pre-built Boost binaries &lt;<a \
href="https://dl.bintray.com/boostorg/release/1.67.0/binaries/"><span \
style="color:windowtext;text-decoration:none">https://dl.bintray.com/boostorg/release/1.67.0/binaries/</span></a>&gt;&nbsp;
                
 . They are just fine. If your Windows Defender finds something in them then it's the \
problem in Windows Defender.<o:p></o:p></p> <p \
class="MsoPlainText"><o:p>&nbsp;</o:p></p> <p class="MsoPlainText">Best \
regards,<o:p></o:p></p> <p class="MsoPlainText">Innokentiy Alaytsev<o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">--<o:p></o:p></p>
<p class="MsoPlainText">Sent from: <a href="http://cmake.3232098.n2.nabble.com/">
<span style="color:windowtext;text-decoration:none">http://cmake.3232098.n2.nabble.com/</span></a><o:p></o:p></p>
 <p class="MsoPlainText">-- <o:p></o:p></p>
<p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Powered by <a href="http://www.kitware.com"><span \
style="color:windowtext;text-decoration:none">www.kitware.com</span></a><o:p></o:p></p>
 <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Please keep messages on-topic and check the CMake FAQ at:
<a href="http://www.cmake.org/Wiki/CMake_FAQ"><span \
style="color:windowtext;text-decoration:none">http://www.cmake.org/Wiki/CMake_FAQ</span></a><o:p></o:p></p>
 <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Kitware offers various services to support the CMake \
community. For more information on each offering, please visit:<o:p></o:p></p> <p \
class="MsoPlainText"><o:p>&nbsp;</o:p></p> <p class="MsoPlainText">CMake Support: <a \
href="http://cmake.org/cmake/help/support.html"> <span \
style="color:windowtext;text-decoration:none">http://cmake.org/cmake/help/support.html</span></a><o:p></o:p></p>
 <p class="MsoPlainText">CMake Consulting: <a \
href="http://cmake.org/cmake/help/consulting.html"> <span \
style="color:windowtext;text-decoration:none">http://cmake.org/cmake/help/consulting.html</span></a><o:p></o:p></p>
 <p class="MsoPlainText">CMake Training Courses: <a \
href="http://cmake.org/cmake/help/training.html"> <span \
style="color:windowtext;text-decoration:none">http://cmake.org/cmake/help/training.html</span></a><o:p></o:p></p>
 <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Visit other Kitware open-source projects at <a \
href="http://www.kitware.com/opensource/opensource.html"> <span \
style="color:windowtext;text-decoration:none">http://www.kitware.com/opensource/opensource.html</span></a><o:p></o:p></p>
 <p class="MsoPlainText"><o:p>&nbsp;</o:p></p>
<p class="MsoPlainText">Follow this link to subscribe/unsubscribe:<o:p></o:p></p>
<p class="MsoPlainText"><a href="https://cmake.org/mailman/listinfo/cmake"><span \
style="color:windowtext;text-decoration:none">https://cmake.org/mailman/listinfo/cmake</span></a><o:p></o:p></p>
 </div>
</body>
</html>



-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: \
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more information \
on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at \
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake

--===============1105697843==--



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic