Yet more info. How foolish of me to think it's ok to have to run cmake twice.
I found that the heart of the problem was the use of ${CMAKE_BINARY_DIR} in
LINK_DIRECTORIES for the FORTRAN target in question (a static library, which
other parts of the project depend on). So I have a CXX project
More information on this. I just discovered it has nothing to do with my
different environments, just that cmake has to run twice (in either
environment) for the flags.make file to reflect my SET(CMAKE_Fortran_FLAGS)
command. Is this expected behavior? If so, I'll setup a script that runs
cm
So I am forcing some flags in a high-level CMakeLists.txt for all fortran
sources using the subject command. When I invoke via one environment (via
python subprocess.popen with modified environment), cmake succeeds and all the
build files are generated, however, my flags don't appear in the CMA
Hello,
We have a modular in-house library that we use for our software. Let’s call it
lib_x. Let’s call a few of the modules (we have 7 I think) mod_y, mod_z, mod_u
and mod_v. Let’s say I have two applications that use all of this and call
them app_1 and app_2.
The way I have setup our CMa
On Monday, June 22, 2015 18:02:01 Cedric Doucet wrote:
> Hello,
>
> I am testing the possibility of generating Eclipse projects with CMake.
> I use the following command line:
> cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../src
> It works fine.
>
> However, I would like to
Hello,
I am testing the possibility of generating Eclipse projects with CMake.
I use the following command line:
cmake -G"Eclipse CDT4 - Unix Makefiles" -D CMAKE_BUILD_TYPE=Debug ../src
It works fine.
However, I would like to go further in this direction.
- What could I put in CMakeLists.t
On 06/20/2015 04:10 AM, Roman Wüger wrote:
> but the problem with this command is, that for multi configuration
> environments (e.g. Visual Studio), it requires $ in the
> filename which then creates 4 header files. One for each configuration.
Yes, because generator expressions can reference thing
Hi,
does FIND_LIBRARY_USE_LIB64_PATHS work with Windows64.
>From this ...
https://public.kitware.com/Bug/view.php?id=15301#c37449
...one might conclude it does, but on my Win64-System
PROJECT(T LANGUAGES C)
CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
GET_PROPERTY(r22 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB