d with upstream,
but is used by downstream to find the files by guessing locations of
files with platform-specific hints."
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by kitware.com/cmake
Kitware offers various services to support the CMake community. For more
i
try to help people help you [2]
[1] https://cmake.org/pipermail/cmake/2018-October/068477.html
[2] http://www.catb.org/~esr/faqs/smart-questions.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by kitware.com/cmake
Kitware offers various services to support the CMa
frame "Note" on docs page
of the property/variable.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 th
alues are"
Hint 2: In CMake, for XXX property there is a corresponding variable
https://cmake.org/cmake/help/v3.15/variable/CMAKE_MSVC_RUNTIME_LIBRARY.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and ch
On Mon, 28 Oct 2019 at 12:22, Osman Zakir wrote:
>
> And I should do "-DCMAKE_MSVC_RUNTIME_LIBRARY=/MT"
Man, read the docs I pasted!!!
https://cmake.org/cmake/help/v3.15/prop_tgt/MSVC_RUNTIME_LIBRARY.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
cmake/help/latest/policy/CMP0091.html
https://cmake.org/cmake/help/v3.15/prop_tgt/MSVC_RUNTIME_LIBRARY.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitwa
ixed in CMake 3.13.0.
if CMake is still failing to find Boost, you may try -DBoost_DEBUG=ON
to get detailed diagnostics output from FindBoost.cmake module.
```
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and chec
generic installer for any Linux and Windows
Updating CMake is easy-peasy for us lazy programmers with a bit of scripting:
https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.sh
https://github.com/mloskot/wsl-config/blob/master/scripts/install-cmake-latest.ps1
Best regards
/cmake.org/cmake/help/latest/manual/cmake.1.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
https://crascit.com/professional-cmake/
And search for Daniel Pfeifer's talk on YouTube
Mateusz Loskot, mate...@loskot.net
(Sent from mobile, may suffer from top-posting)
On Thu, 11 Jul 2019, 12:56 hex, wrote:
> hello community,
>
>
> Does anyone have a book recommendation
On Tue, 7 May 2019 at 20:38, Angel Campoverde
wrote:
> Next time please ask what computer I am using.
CMake results are intrinsically compiler-specific.
Your issue is compiler-specific.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
p.s. Please, stop it.
--
Powered
On Tue, 7 May 2019 at 18:24, Angel Campoverde
wrote:
>
> No, It does not work, I told Cmake to use c++ 20, but it still goes back to
> c++17. You can see what I get here:
>
> https://pastebin.com/5ub18cMU
Next time, please specify what compiler you are using.
Best regards,
--
XX_EXTENSIONS=OFF ..
and then
VERBOSE=1 make
you will clearly see that CMake generated the compiler
command lines with -std=c++2a
IFF, you are using version of GCC or clang that supports c++2a, obviously
(i.e. GCC 8/clang 6 or later. I'm not entirely confident about clang)
Best
the old FindBoost.cmake behaviour
https://github.com/Kitware/CMake/blob/master/Modules/FindBoost.cmake#L238
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware
pilation flags and don't *add* compilation
> flags? Both target_compile_options and set_target_properties seems to
> *add* flags and don't replace.
See https://cmake.org/pipermail/cmake/2018-December/068716.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by ww
what's the correct way to do this?
Modify C/C++ flags. For example, something along these lines
string(REGEX REPLACE "/MD" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
string(REGEX REPLACE "-MT" "" CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS})
target_compile_opti
CTORIES.html#prop_tgt:INCLUDE_DIRECTORIES>
property
of .
Yea, but are missing the actual from your call.
Mateusz Loskot, mate...@loskot.net
(Sent from mobile)
--
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 v
On Mon, 10 Dec 2018 at 18:31, Bill Hoffman via CMake wrote:
> On 12/8/2018 7:47 PM, Mateusz Loskot wrote:
> >
> > Am I correct clang-tidy run via CXX_CLANG_TIDY
> > ignores .clang-tidy configuration file?
> >
> > I've tried number of ways to help it find
do not explicitly set -W defaults or strip any -W option
prior re-setting
with (possibly) new value passed to target_compile_options.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www
But with the advent of target_compile_options, the string call
requirement is just unacceptable.
[1] https://gitlab.kitware.com/cmake/cmake/issues/18317
> I've CC'ed the developer's list and suggest that follow-up discussion should
> occur there.
FYI, I've just sub
gards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
gn, for MSVC?
Could anyone help me to understand if this is actually a bug
or am I misunderstanding anything?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kit
Hi,
FYI, I proposed changes to FindBoost that may be of interest of users
relying on the upcoming Boost 1.69 ie. current master or develop branches
https://gitlab.kitware.com/cmake/cmake/merge_requests/2579
Feedback is welcome.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
On Tue, 30 Oct 2018 at 18:10, Osman Zakir wrote:
>
> So I have to do "ENV export PATH=$HOME/usr/bin:$PATH"? Is that what you mean?
Your question is off-topic here. Try Docker forums, StackOverflow, ...
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by
ake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh
sh cmake-linux.sh -- --skip-license --prefix=$HOME/usr
export PATH=$HOME/usr/bin:$PATH
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake
e standard prefix /usr/local
with cmake executable deployed in /usr/local/bin/cmake
and having /usr/local/bin typically in PATH
you would get cmake in your PATH out of the box.
Just forget about using apt-get with the downloaded .tar.gz, forget it!
Or, learn about Debian packages, apt, etc. just no
assure you the option 2. works perfectly
I use it daily to juggle CMake on number of Linux environments
https://github.com/mloskot/wsl-config/blob/master/wsl/scripts/install-cmake-latest.sh
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep mess
rm name if supported by generator.
For this paricular VS use case, I could have used
cmake -G "Visual Studio 15 2017 Win64" -DBOOST_ROOT:PATH=D:\boost.win ..
which should be equivalent to
cmake -A x64 -DBOOST_ROOT:PATH=D:\boost.win
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
-
y!
ML
>
> From: CMake on behalf of Mateusz Loskot
>
> Sent: Tuesday, October 30, 2018 2:55 PM
> To: cmake@cmake.org
> Subject: Re: [CMake] About FindBoost.cmake
>
> On Tue, 30 Oct 2018 at 10:54, Mateusz Loskot wrote:
> > [...]
> > D:
On Tue, 30 Oct 2018 at 10:54, Mateusz Loskot wrote:
> [...]
> D:\_\workshop\test_boost\_build.vs2017 cmake -A x64
> -DBOOST_ROOT:PATH=D:\boost.win ..
> -- Building for: Visual Studio 15 2017
> -- The C compiler identification is MSVC 19.15.26730.0
> -- The CXX compiler iden
On Tue, 30 Oct 2018 at 10:24, Mateusz Loskot wrote:
> On Tue, 30 Oct 2018 at 10:17, Osman Zakir wrote:
> >
> > Yes, but this might also be why it can't find more than "some" of the Boost
> > libraries. It looks for "-d" even though I'm using
wget -O cmake-linux.sh
https://cmake.org/files/v3.12/cmake-3.12.3-Linux-x86_64.sh
sudo sh cmake-linux.sh -- --skip-license --prefix=/usr/local
cmake --version
I guess, it may be a good idea to update https://cmake.org/install/
Best regards,,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Power
_ABI_TAG = -gd
FindBoost is a complex animal, it deals with tons of cases, it
frequently stops working.
So, crystal sphere -based investigation does not quite apply :)
BTW, pease respond to the mailing list, not privately.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by w
esystem-vc141-mt-x64-1_69.lib
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
informa
see what is happening.
You will have to dig the issue deep and the digging may be difficult
and frustrating.
That is why I would work things on Linux locally (VM) first - Docker
just adds up to the overall complexity.
I see no way to solve your problem for you.
Best regards,
--
Mateusz Loskot
al, not sufficient at all to pin point
where may possible problem be.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 th
On Thu, 25 Oct 2018 at 17:12, Brad King wrote:
> On 10/25/2018 11:10 AM, Mateusz Loskot wrote:
> > FindBoost.cmake changes seem to be missing from this section
>
> We don't record every version update or implementation change
> in release notes. The interface of the modul
On Thu, 25 Oct 2018 at 17:06, Robert Maynard wrote:
>
> CMake 3.13 Release Notes
>
> [...]
>
> Modules
> ---
> [...]
FindBoost.cmake changes seem to be missing from this section
Best regards,
--
Mateusz Loskot, http://mateusz.lo
On Wed, 24 Oct 2018 at 22:17, Brad King wrote:
> On 10/24/2018 01:22 PM, Mateusz Loskot wrote:
> > So, I had to bend CMake this way to find Boost for me:
> >
> > cmake -DBoost_COMPILER=-gcc5 -DCMAKE_CXX_COMPILER_ARCHITECTURE_ID=x64 ..
>
> See these issues:
>
>
oost.cmake.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 offeri
On Mon, 1 Oct 2018 at 21:45, Mateusz Loskot wrote:
>
> The library has number of dependencies on third-party libraries,
> namely database access client libraries. I've reached the point
> where I need to 'list' those dependencies in soci-config.cmake [3]
> Name
ml/modern-cmake
[3] https://github.com/mloskot/soci/blob/ml/modern-cmake/cmake/soci-config.cmake
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 va
ps://cmake.org/cmake/help/latest/module/FindXercesC.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 c
R_TOOLSET.html
Best regards
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 of
ically be cache entries such as FOO_LIBRARY
and not output variables like FOO_LIBRARIES.
"""
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
K
ons of ->IssueMessage
and uses of cmake::MessageType and its members eg. cmake::FATAL_ERROR
may help to collect a picture on how messages are composed.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake
gitlab.kitware.com/cmake/cmake/issues/17701
Remember, FindBoost.cmake is *always* a step or two behind CMake release.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki
I recommend vcpkg and Conan.
You may check Boost.GIL configuration for CMake that uses both as
alternatives.
Conan can automatically pulls libpng etc.
https://github.com/boostorg/gil
Mateusz Loskot, mate...@loskot.net
(Sent from mobile)
On Sun, 15 Jul 2018, 09:44 Dvir Yitzchaki,
wrote:
>
On 24 May 2018 at 08:45, Elvis Stansvik wrote:
> Den ons 23 maj 2018 17:18Mateusz Loskot skrev:
>> On 23 May 2018 at 16:37, David Demelier wrote:
>> > On Mon, 2018-05-21 at 19:39 +0200, Mateusz Loskot wrote:
>> >>
>> >>
>> >> IMHO, CM
On 23 May 2018 at 16:37, David Demelier wrote:
> On Mon, 2018-05-21 at 19:39 +0200, Mateusz Loskot wrote:
>>
>> I've been recently trying to update/add Find-modules to CMake:
>> updated FindJPEG, proposed FindODBC and most recently FindLZ4.
>>
>> Discussion
On 22 May 2018 at 13:36, wrote:
> On 2018-05-21 18:39, Mateusz Loskot wrote:
>>
>> I've been recently trying to update/add Find-modules to CMake:
>> updated FindJPEG, proposed FindODBC and most recently FindLZ4.
> […]
>>
>> The FindLZ4 discussion basic
On 22 May 2018 at 12:27, Johannes Zarl-Zierl wrote:
> On Montag, 21. Mai 2018 19:39:16 CEST Mateusz Loskot wrote:
>> The FindLZ4 discussion basically ended with suggestion from Brad that,
>> instead of adding Find-module to CMake, I should approach LZ4 project
>> and a
are about Find-modules, it should not care or
should care about
them equally - thus presence of such find-modules archive deployed should
not affect the health of CMake installation and its pursue fo
rFind-modules ignorance.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered
Sorry for garbage in previous response.
I top posted partial response and bottom-posted more completed one.
Not easy to edit longish emails on mobile :)
Mateusz Loskot, mate...@loskot.net
(Sent from mobile)
On Sun, 20 May 2018, 00:03 Mateusz Loskot, wrote:
> I understand your
>
>
I understand your
Mateusz Loskot, mate...@loskot.net
(Sent from mobile)
On Sat, 19 May 2018, 22:54 Ray Donnelly, wrote:
> On Sat, May 19, 2018, 9:38 PM Mateusz Loskot wrote:
>
>> On 19 May 2018 at 22:16, Ray Donnelly wrote:
>> > On Sat, May 19, 2018, 8:50 PM Mat
On 19 May 2018 at 22:16, Ray Donnelly wrote:
> On Sat, May 19, 2018, 8:50 PM Mateusz Loskot wrote:
>> On 19 May 2018 at 15:00, Elvis Stansvik wrote:
>> > I know this has been asked before, but I've never seen a really
>> > authoritative answer.
>> >
is, do two separate configure/build/install, in order to get both
> a shared and static version.
IMHO, there is nothing ugly in this approach.
Not every system allows (or recomments) to generate both,
static and shared, from the same object files.
Why not view static vs shared as the s
riables.
I posted related question earlier in
https://cmake.org/pipermail/cmake/2018-May/067504.html
I'd be interested to know if the technique used in the module is sound
or if there is a better one recommended.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitw
variables?
Or something else?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
On 22 March 2018 at 16:51, Brad King wrote:
> On 03/22/2018 10:17 AM, Mateusz Loskot wrote:
>> It seems folks generally agree there is need for porcelain API.
>> It's a pity it's been 5+ years and it is still waiting for implementation.
>
> [...]
> The main dri
On 20 March 2018 at 21:52, Alexander Neundorf wrote:
> On 2018 M03 20, Tue 21:14:30 CET Mateusz Loskot wrote:
> ...
>> Why I can not write:
>>
>> target_use(app Boost::system Boost::filesystem)
>>
>> or
>>
>> target_use_targets(app Boost::system
On 20 March 2018 at 21:52, Alexander Neundorf wrote:
> On 2018 M03 20, Tue 21:14:30 CET Mateusz Loskot wrote:
> ...
>> Why I can not write:
>>
>> target_use(app Boost::system Boost::filesystem)
>>
>> or
>>
>> target_use_targets(app Boost::system
named it to fit in the Daniel's concept of looking at CMake API
as OOP, that is OOP like in C in GTK+ :), of course.
[1] https://twitter.com/mloskot/status/973914895287713793
[2] https://github.com/vector-of-bool/vscode-cmake-tools
[3] https://cpplang.slack.com/archives/C5Y2GDECX/p15
]
https://blogs.msdn.microsoft.com/vcblog/2016/10/05/cmake-support-in-visual-studio/
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 t
Code".
VSCode is generator-agnostic.
For current list of generators, refer to the CMake docs.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kit
ssional
C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional
[1]
https://gitlab.kitware.com/cmake/cmake/commit/9ffb35386fb923a5959eec482bfa131aa3feaa18
[2] https://cmake.org/cmake/help/v3.11/generator/Visual Studio 15 2017.html
[3] https://github.com/Microsoft/vswhere
Best regards,
On 25 September 2017 at 18:40, Zan Lynx wrote:
> On 09/25/2017 10:15 AM, Mateusz Loskot wrote:
>> What if (Windows) user runs cmake inside
>>
>> c:\my awesome projects\one-superb\build
>>
>> and there is xxx_command(${CMAKE_SOURCE_DIR})
>
> Indeed.
>
ure and you can reorganize your project to
> get rid of the need for quotes.
What if (Windows) user runs cmake inside
c:\my awesome projects\one-superb\build
and there is xxx_command(${CMAKE_SOURCE_DIR})
I find lack of CMake standarised conventions and idioms a mistake,
softly saying.
Best r
it
> 2) if it's not a pat, but inside an if() or any similar core language
> structure, quote it as well
> 3) don't quote only if you're sure the string can't have spaces - otherwise
> do quote
> 4) quoting is free and doesn't hurt
That sounds
ps://cmake.org/Wiki/CMake/Language_Syntax#CMake_splits_arguments_unless_you_use_quotation_marks_or_escapes.
[2] https://stackoverflow.com/a/35853080/151641
[3] https://public.kitware.com/pipermail/cmake/2012-July/051138.html
[4] https://public.kitware.com/pipermail/cmake/2012-July/051139.html
Best regards,
ing for: Visual Studio 15 2017
CMake Error at foo/CMakeLists.txt:1 (add_executable):
add_executable called with incorrect number of arguments
-- Configuring incomplete, errors occurred!
See also "D:/tmp/cmake-location/build/CMakeFiles/CMakeOutput.log".
Best regards,
--
Mateusz Loskot,
On 12 September 2017 at 14:53, Konstantin Tokarev wrote:
> 11.09.2017, 18:12, "Mateusz Loskot" :
>> On 11 September 2017 at 17:04, Konstantin Tokarev wrote:
>>> 11.09.2017, 17:59, "Mateusz Loskot" :
>>>>
>>>> I'm building a p
On 11 September 2017 at 17:04, Konstantin Tokarev wrote:
> 11.09.2017, 17:59, "Mateusz Loskot" :
>> Hi,
>>
>> I'm building a project with CMake 3.9 using clang-cl.exe driver [1]
>> from LLVM/clang 4.0 enabled with Visual Studio 2015 environment.
>&
lvm.org/docs/UsersManual.html#clang-cl
[2] https://cmake.org/cmake/help/v3.9/variable/MSVC.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware off
#x27;m trying to cut number of custom options and I'm never certain
how I can actually re/ab-use the standard CMake settings.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://ww
and others) may give unexpected results.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
On 24 April 2015 at 21:00, Gregor Jasny wrote:
> On 23/04/15 16:54, Mateusz Loskot wrote:
>> Surprisingly, I'm having trouble to figure out how to determine,
>> that in Linux 64-bit OS, I'm building a project with -m32 specified.
>> IOW, any CMake variable or macro
's the issue.
I'm surprised it hasn't been addressed yet, seems folks apply some
workarounds external to FindBoost, but what they are...
Thanks for the pointers too, somehow I missed that issue
was discussed in those Boost threads.
Best regards,
--
Mateusz Loskot, http://mateusz
On 23 April 2015 at 18:04, Nils Gladitz wrote:
> On 23.04.2015 18:00, Mateusz Loskot wrote:
>>
>> It's better, indeed, but what about
>>
>> "This is set to the size of a pointer on the target machine for which
>> the (machine) code is generated.&qu
On 23 April 2015 at 17:50, Nils Gladitz wrote:
> On 23.04.2015 17:32, Mateusz Loskot wrote:
>>
>> So, the documentation is imprecise in this regard, isn't it?
>>
>> Best regards,
>
>
> Is this better?
> http://www.cmake.org/cmake/help/git-next/va
On 23 April 2015 at 17:20, Nils Gladitz wrote:
> On 23.04.2015 17:08, Mateusz Loskot wrote:
>>
>> I know this trick, but this is not what I'm looking for, unless I
>> misread the documentation.
>>
>> The doc says:
>>
>> "This is set to the
On 23 April 2015 at 16:57, Nils Gladitz wrote:
> On 04/23/2015 04:54 PM, Mateusz Loskot wrote:
>>
>> Hi,
>>
>> Surprisingly, I'm having trouble to figure out how to determine,
>> that in Linux 64-bit OS, I'm building a project with -m32 specified.
>
Hi,
Surprisingly, I'm having trouble to figure out how to determine,
that in Linux 64-bit OS, I'm building a project with -m32 specified.
IOW, any CMake variable or macro to tell me target architecture
of a build that is being configured is 32 or 64 bit?
Best regards,
--
Mateusz Lo
expect it to do,
by design or by a bug?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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
On 17 December 2013 14:27, J Decker wrote:
> which is... build seperately into seperate directories even with makefile.
> [...]
Yes, and that is a good feature of CMake.
What is still unclear to me is how the package registry works in such case.
Here is the basic example to support my previous q
On 17 December 2013 02:29, J Decker wrote:
> build with multiple passes... 1 time release, and 1 time debug. Don't
> think about building both at once
I'm more concerned about using both (linking against) at once,
FooBarUser built in Release links against FooBar build in Release mode...
AFA
Hi,
I've started adding the config mode support to my CMake-based
projects and with quite a success.
So far, I have basic understanding of what it takes in practice to enable
config mode and there is still more to learn for me.
TL;TR: How to make use of CMAKE_BUILD_TYPE in config mode?
Could any
1 and statically link programs to it as needed (i.e.,
> without installing library1's headers and binaries to the installation
> destination).
Jeet,
Have you managed to solve this task of combining use of git submodule
and exported targets without installation?
Anyone, is it even possible
dditionally this sets the variables _BINARY_DIR and
_SOURCE_DIR to the respective values.
"""
> And they are the same as CMAKE_BINARY_DIR , or CMAKE_SOURCE_DIR.
>
> So why one would use the ${PROJECT}_BINARY_DIR variables?
i.e. when writing general purpose macros/fun
On 4 November 2013 15:38, Bill Hoffman wrote:
> On 11/4/2013 10:21 AM, Mateusz Loskot wrote:
>>
>> I don't care about MinGW/Cygwin myself, but AFAIR, there is no
>> detection mechanism
>> for those, only -m64 flag juggling.
>
> You could look at the com
On 4 November 2013 15:16, dravion.sm...@gmx.net wrote:
> Am 04.11.2013 16:09, schrieb Mateusz Loskot:
>>
>> On 4 November 2013 14:45, dravion.sm...@gmx.net
>> wrote:
>>>
>>> Hi,
>>>
>>> Is there an Way to choose diffrent Windows Com
wed by the platform name to
create project files for a specific target platform. E.g. "Visual
Studio 10 Win64" will create project files for the x64 processor;
"Visual Studio 10 IA64" for Itanium.
"""
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
dllexport and dllimport.
IMO, OP should split the threads for sake of the list usability.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
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 vari
On 11 October 2013 15:23, Robert Maynard wrote:
> I am currently in the process of getting the 2.8.12 documentation
> generated and uploaded.
Sweet, thanks!
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and che
Hi,
The latest version linked in the documentation [1] is 2.8.11.
Where can I find docs for the latest release?
[1] http://cmake.org/cmake/help/documentation.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Please keep messages on-topic and
fying
COMPONENTS spirit
leads to lookup for non-existent binary library.
Perhaps, all headers-only libraries could be handled by the FindBoost module
and then reported by CMake:
"Spirit is headers-only, shall not be specified with COMPONENTS"
Best regards,
--
Mateusz Loskot, http://mateusz.
[1], but COMPONENTS is dedicated
to request lookup for the Boost libraries which are built as binary components.
For the Spirit, you just need to check if you have Boost headers available:
find_package(Boost 1.49 REQUIRED)
[1] http://cmake.org/cmake/help/v2.8.11/cmake.html#module:FindBoost
Bes
he build
> without any need to know the list's name or ensure it's
> definition reaches the scope at the top of the call stack.
Robert,
Am I getting it right, that you are trying to set a custom
user-defined property with set_directory_properties (or set_property),
like here:
set_dire
ttp://cmake.org/cmake/help/v2.8.11/cmake.html#command:if
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
"Participation in this whole process is a form of torture" ~~ Szalony
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake
anything changed in recent CMake versoins,
so it is no longer necessary.
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and che
1 - 100 of 227 matches
Mail list logo