Hi all. I'm using cmake 2.8.10.2. I'm trying to introduce an
alternative compiler into my build system for Linux, so as a first step
I've separated my project statement from:
project(MyProject C CXX)
into:
project(MyProject NONE)
enable_language(C)
enable_language(CXX)
This works fine
Er... I take it back about being able to set the value by hand. If I do
so I get a TON of errors, for each of the builtin variable variants for
MinSizeRel and RelWithDebInfo (e.g., CMAKE_C_FLAGS_MINRELSIZE / "Error
required internal CMake variable not set").
Now I'm not sure what to do.
On Fri,
On 05/10/2013 10:31 AM, Paul Smith wrote:
> I've separated my project statement from:
>
> project(MyProject C CXX)
>
> into:
>
> project(MyProject NONE)
> enable_language(C)
> enable_language(CXX)
>
> on Windows (VS 10 Win64 generator):
>
> CMAKE_CONFIGURATION_TYPES:STRING=Debug;Rele
On Fri, 2013-05-10 at 11:14 -0400, Brad King wrote:
> On 05/10/2013 10:31 AM, Paul Smith wrote:
> > I've separated my project statement from:
> >
> > project(MyProject C CXX)
> >
> > into:
> >
> > project(MyProject NONE)
> > enable_language(C)
> > enable_language(CXX)
> >
> > on Windows
On 05/10/2013 11:23 AM, Paul Smith wrote:
> Is there any way to work around this? I've tried setting
> CMAKE_CONFIGURATION_TYPES before project()
Make sure you set it as a cache entry:
set(CMAKE_CONFIGURATION_TYPES
"Debug;Release;MinSizeRel;RelWithDebInfo"
CACHE STRING "Supported configs"
On Fri, 2013-05-10 at 11:34 -0400, Brad King wrote:
> On 05/10/2013 11:23 AM, Paul Smith wrote:
> > Is there any way to work around this? I've tried setting
> > CMAKE_CONFIGURATION_TYPES before project()
>
> Make sure you set it as a cache entry:
>
> set(CMAKE_CONFIGURATION_TYPES
>"Debug;Re
Hi all,
I am running Mac OS X 10.7.5 . When I installed CMake 2.8.10.2 just
now, it failed to create symbolic links to the cmake executables in
the default location because I had symbolic links with the same names
already installed by a previous version of CMake. Removing the
offending links and r
Oops, I failed to mention that the symbolic links I am talking about
are in /usr/bin, e.g., /usr/bin/cmake, /usr/bin/ctest, etc.
On Fri, May 10, 2013 at 12:34 PM, Cory Quammen wrote:
> Hi all,
>
> I am running Mac OS X 10.7.5 . When I installed CMake 2.8.10.2 just
> now, it failed to create symbo
On Fri, 10 May 2013 12:34:06 -0400, Cory Quammen said:
>I am running Mac OS X 10.7.5 . When I installed CMake 2.8.10.2 just
>now, it failed to create symbolic links to the cmake executables in
>the default location because I had symbolic links with the same names
>already installed by a previous v
Thanks, Sean.
On Fri, May 10, 2013 at 12:41 PM, Sean McBride wrote:
> On Fri, 10 May 2013 12:34:06 -0400, Cory Quammen said:
>
>>I am running Mac OS X 10.7.5 . When I installed CMake 2.8.10.2 just
>>now, it failed to create symbolic links to the cmake executables in
>>the default location because
I'm trying to figure out how to install the module (.mod) files that are
generated by the Fortran compiler. I've only found one thread on the topic
from 3 years ago. The solution there was to find the appropriate directory
in the build tree where these files were created and scarf up everything
t
Just a thank you note; I'm noticing that with the latest version, that
when I build the install target, it doesn't do the install if the
build failed. It previously would go through the install (especially
if a previous build had succeeded) which ran all the error output off
the screen.
--
Powere
Hi,
If you set the CMAKE_Fortran_MODULE_DIRECTORY variable, then all module
files by default will be built into this folder. In our case we set this
to ${CMAKE_BINARY_DIR}/fortran. Since nothing else is in this folder,
you have a fairly good control over where your mod files are if you want
to ins
Hi all,
I have a library that is built and linked to as part of my project. I
want to provide the facility to OPTIONALLY have the library installed
system-wide (or wherever ${CMAKE_INSTALL_PREFIX} is set). Otherwise, by
default, the project's final build products will be linked statically to
14 matches
Mail list logo