I tried:
get_directory_property(cmake_include_directories INCLUDE_DIRECTORIES)
set(include_dirs)
foreach(it ${cmake_include_directories})
set(include_dirs ${include_dirs} "${it}/")
endforeach()
set_directory_properties(PROPERTIES INCLUDE_DIRECTORIES
"${include_dirs}")
Hi,
I want to be able to pass FC=mpif90 (or FC=$(which mpif90)) and CC=mpicc
etc. OR also be able to pass a compiler and use FindMPI to add link,
compile and include flags. I'm encountering an issue when my MPI
implementation is not on my PATH, I want CMake to be able to look in an
additional loca
On 23/11/16 14:55, Cedric Doucet wrote:
Hello,
I would like to write some FindFoo.cmake files to find packages
installed on different systems including Mac.
I have noticed that homebrew install packages in a repertory whose name
depends on the version of the package.
For example, I have install
Thanks Robert -- this is great feedback
Yes, VS ships with a patched 3.6 CMake that includes both changes to find the
VS 2017 installation as well as the CMake-Server functionality needed for the
IDE services. We have not yet started upstreaming these changes (got totally
sidetracked by getting
Thanks! This worked for my needs. Ninja said my command line changed. So
I used the generated compile_commands.json before and after a cmake run,
diff'ed those two files and was able to zero in on the issue. Thanks for
the tip. Worked great. Have to store that one away for future use.
--
Mike
Using git like that is actually the perfect way to do it if you just want
to analyze it manually. I've actually done that with other projects source
trees when something seems to appear there even when doing an out of source
build... It's a great way to see what's changed (and how) easily.
You cou
Does "ninja -d explain" tell you what you need?
On Thu, Nov 24, 2016 at 5:34 AM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> Is there a way to determine which files in my build directory have changed
> for a given run of CMake? The use case is that I made what I thought was a
> small
Is there a way to determine which files in my build directory have
changed for a given run of CMake? The use case is that I made what I
thought was a small change to my configuration using cmake and when I
went to build it was basically a full recompile. During our cmake run we
do use configure
Hi Cedric,
You might be interested in "brew --prefix" which gives you the location of the
brew install. e.g. for me.
% brew --prefix
/usr/local
Also brew symlinks the current version of all programs into the "brew --prefix"
folder. Do "ls -lah /usr/local/bin" and you should see what I mean.
I
Hello,
I would like to write some FindFoo.cmake files to find packages installed on
different systems including Mac.
I have noticed that homebrew install packages in a repertory whose name depends
on the version of the package.
For example, I have installed a scientific library called scotch
10 matches
Mail list logo