Hello,
How does one select the linker and archiver for use with cmake? I can
change my C compiler by doing this 'CC=icc cmake ..', but I would also
like to use the Intel archiver and linker (xiar and xild).
Thank you for the advices.
--
Powered by www.kitware.com
Please keep messages on-topic
, 2015 at 8:28 AM, Gregor Jasny <gja...@googlemail.com> wrote:
> On 15/11/15 21:13, digitalriptide wrote:
>
>> Did this fix make it into 3.4? After upgrading to 3.4, GCC still seems
>> to lack -isystem flags on OS X. Is there anything extra I need to do?
>>
>
>
Did this fix make it into 3.4? After upgrading to 3.4, GCC still seems to
lack -isystem flags on OS X. Is there anything extra I need to do?
Thank you!!
On Thu, Aug 20, 2015 at 8:12 AM, Gregor Jasny <gja...@googlemail.com> wrote:
> Hello,
>
> On 17/08/15 01:01, digitalriptide wro
Dear CMake Community,
When I add SYSTEM to target_include_directories, for example using
target_include_directories( my_target SYSTEM PUBLIC ${MY_LIBRARIES} )
in Clang, CMake prepends -isystem to the relavent -I/my/library/path type
flags. With GCC, however, I see no -isystem added.
For
When I execute FindPythonLibs.cmake and FindPythonInterp.cmake on the
same system, they locate different Python installations. I am running
OS X with cmake 3.2.3. FindPythonLibs picks up the system-provided
python installation, while FindPythonInterp picks up the version of
Python I installed
Dear CMake Community,
I recently tried to use the Ninja generator with a project that has
Fortran source files, but CMake returned an error stating that Ninja
and Fortran are not yet compatible with CMake. Is this feature planned
for the future?
Thank you kindly!
--
Powered by www.kitware.com
Dear CMake Community,
I would like to add an extra flag to CMAKE_CXX_FLAGS_RELEASE (-xHost
for Intel compilers), so in my CMakeLists.txt I add:
set( CMAKE_CXX_FLAGS_RELEASE ${CMAKE_CXX_FLAGS_RELEASE} -xHost )
If I then run VERBOSE=1 make, I observe that the xHost flag is passed
to the compiler.
/prop_tgt/CXX_EXTENSIONS.html#prop_tgt:CXX_EXTENSIONS
*From:* CMake [mailto:cmake-boun...@cmake.org] *On Behalf Of *Scott Aron
Bloom
*Sent:* Saturday, July 04, 2015 1:17 AM
*To:* digitalriptide; cmake@cmake.org
*Subject:* Re: [CMake] Setting CXX_STANDARD 11 Enables GNU Extensions
If I enable C++11 for some target via
set_target_properties( SomeTarget PROPERTIES CXX_STANDARD 11 )
set_target_properties( SomeTarget PROPERTIES CXX_STANDARD_REQUIRED ON )
with GCC, the code will then compile with -std=gnu++11. Compiling with
-std=gnu++11 enables C++11 *and* the GNU extensions.
With the GNU compilers I am able to enable C++11 for a specific target
using:
set_target_properties( my_target PROPERTIES CXX_STANDARD 11 )
set_target_properties( my_target PROPERTIES CXX_STANDARD_REQUIRED ON )
When I build, this adds the flag -std=gnu++11, which is great.
If I compile with
I have an Ubuntu installation with both libstdc++ and libc++
installed, and I am using Intel's C++ compiler. By default, CMake is
picking up and linking against libstdc++. Is there a way to ask CMake
to prefer libc++ over libstdc++, when available?
Thank you kindly for your advice.
--
Powered
I have a number of tests configured in my CMakeLists.txt file, a few
of which need to do some cleanup after running or if they are
interrupted If I run make tests, and then send a signal (via ctrl+c,
for example), however, these signals are not passed on to the test. Is
it possible to configure
In the past I was able to generate Xcode projects that contained
Fortran files via `cmake -gXcode ..` and CMake would pick up the Intel
Fortran compiler. This behavior seems to have changed recently,
however. Has anyone else experienced this problem and/or found a
workaround? Is this is an issue
Alternatively, what signal does CMake use to halt tests?
Than you!
On Thu, Oct 23, 2014 at 2:16 PM, digitalriptide
digitalript...@gmail.com wrote:
I have a number of tests configured in my CMakeLists.txt file, a few
of which need to do some cleanup after running or if they are
interrupted
Is there a way to enable color compiler messages with the ninja generator?
With make and clang, for example, the makefile generator is able to produce
color output.
Thank you for your assistance.
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
I need to create a Mach-o bundle format file. With g++, for example, I
can do the following
g++ -o helloWorld.bundle -bundle helloWorld.o
given some object file.
Is there some way to do this from cmake? I've looked at the
documentation for add_library but I can't seem to find anything.
Any
16 matches
Mail list logo