Contrary to the CMake FAQ, but consistent with what I have been reading
elsewhere, it does not seem possible for me with CMake 2.8.6 to add a generated
file as a dependency to a target, even in the same directory.
I have done something similar to the following:
add_custom_command(OUTPUT foo.ext
I have a large static library comprised of C, C++, Fortran, and Ada source
files.
I have a number of C, C++, Fortran, and Ada executables linking against this
library.
When CMake generates the link statements in link.txt, the implicit libraries
selected to be linked against from the possibiliti
I am trying to add a library to implicitly link against for the Absoft Fortran
compiler. CMake generates the libraries to implicitly link against for this
compiler seemingly from source code, since the Compiler/Absoft-Fortran and
Platforum/Linux-Absoft contain nothing about what libraries to im
t
target names, which has worked fine thus far.
-Original Message-
From: David Cole [mailto:david.c...@kitware.com]
Sent: Wednesday, December 07, 2011 9:53 AM
To: Schuchard, Matthew
Cc: cmake@cmake.org
Subject: Re: [CMake] CMake builds library/executable out of order
On Wed, Dec 7, 2011 a
I am having this strange issue with building a library and then linking it to
an executable.
If I have the following in my CMakeList:
add_library(libfoo.a ${srcfiles})
add_executable(foo_exec.Fx foo_exec.F)
target_link_libraries(foo_exec.Fx libfoo.a)
I get an error returned of "no rule to make
to libraries, but I see now it is also for linking built
libraries.
-Original Message-
From: Michael Wild [mailto:them...@gmail.com]
Sent: Tuesday, November 08, 2011 12:34 AM
To: Schuchard, Matthew
Cc: cmake@cmake.org
Subject: Re: Globally Set Target Properties
Sorry, I misread your
IX command I had mentioned in the initial message.
Do you know if is possible to set global properties of targets like I am trying
to?
From: Schuchard, Matthew
Sent: Monday, November 07, 2011 11:06 AM
To: Schuchard, Matthew
Subject: Globally Set Target Properties
On 11/07/2011 04:15 PM, Schuch
I am trying to globally set target properties for an entire configuration.
Specifically, I need to remove the prefix "lib" from all statically linked
libraries I build.
I already used CMAKE_STATIC_LIBRARY_PREFIX "" such that all libraries I
explicitly link to will not have CMake search for libra
Hi, I have three questions about CMake's use of a C Preprocessor for Fortran
Source Files. I have scoured the CMake help documentation and googled
extensively but have not found any solutions that worked for my specific
situations.
1. What is the default C Preprocessor CMake uses for Fortran f