Hi,
On Fri, Sep 6, 2013 at 12:26 AM, Robert Dailey wrote:
> I have an interesting structure for my code & build scripts:
>
> root/
> source/
> CMakeLists.txt
> build/
> CMakeLists.txt
> cmake/
> common.cmake
>
> My root CMakeLists.txt is actually in 'root/source/build", and
I am attaching a sample that reproduces the issue. I'm using CMake
version 2.8.11.2. To reproduce this, just run the 'generate.bat' batch
file from its current directory (WINDOWS ONLY). I have set it up to
generate for Visual Studio 2008, but you can edit the batch file to
change this.
Password to
I have an interesting structure for my code & build scripts:
root/
source/
CMakeLists.txt
build/
CMakeLists.txt
cmake/
common.cmake
My root CMakeLists.txt is actually in 'root/source/build", and my
common scripts are in "root/cmake".
>From my root CMakeLists.txt file, I do
This is perfect! Thank you!
On Mon, Aug 26, 2013 at 1:21 PM, Nils Gladitz wrote:
> Maybe CMAKE__SOURCE_FILE_EXTENSIONS would help with that.
> For C++ this is e.g. CMAKE_CXX_SOURCE_FILE_EXTENSIONS set to
> "C;M;c++;cc;cpp;cxx;m;mm;CPP".
>
> Nils
>
>
> On 26.08.2013 19:10, Robert Dailey wrote:
>>
Thank you. QUIET is definitely an improvement, and I can live with that.
However, it would still be nice to be able to reduce clutter and remove
MPI_CXX_* and MPI_LIBRARY, MPI_EXTRA_LIBRARY from the CMake cache, to avoid
overwhelming or confusing users.
On Sep 5, 2013, at 1:29 PM, Nick Overdi
Hi,I'm trying to use CMake to configure Xcode to build for iOS. So far, i've managed to do all the necessary configuration and the compilation is successful. Unfortunately, I can't launch on the simulator, when i launch, Xcode just stops running the app, and the simulator is crashed, I then have to
You can pass the QUIET parameter to find_package... that'll at least shut it
up. Perhaps easiest in your case.
On 2013-05-09, at 18:22:25 , Andrew Corrigan wrote:
> Hello,
>
> My C++ code only uses the MPI C library.
>
> 1. Is there a way to tell find_package(MPI) to only look for the C versi
I have this same question. There doesn't seem to be a way to have these
imported target see other targets. I can pull the full path out for this
target, but it seems less elegant.
On Thu, Dec 22, 2011 at 11:08 AM, Marco Corvo wrote:
> Hi all,
>
> I have a big project which can be used in two w
I want CPack to build packages that result in installing files in a particular
structure, regardless of whether I'm using TGZ, ZIP, NSIS, RPM, etc. I'm
having trouble making this work and need help.
Let me make things concrete. I have successfully configured CMake to install
platform-specific
Hello,
My C++ code only uses the MPI C library.
1. Is there a way to tell find_package(MPI) to only look for the C version?
2. If not, can FindMPI.cmake be changed to support this (just like with Boost
you can specify only the components you need)
3. If not, can that warning message "Could NOT
2013/9/5 Pascal Bach :
>>>
>>
>> >> Unknown source file name is just painful.
>> >>
>> >> Can't the thrift generator tell you the name of the files he will
>> >> generate?
>> >> Something like:
>> >> thrift --generated-file-list Service.thrift
>> >>
>>
>> How wouldn't the output depend on the cont
>>
>
> >> Unknown source file name is just painful.
> >>
> >> Can't the thrift generator tell you the name of the files he will generate?
> >> Something like:
> >> thrift --generated-file-list Service.thrift
> >>
>
> How wouldn't the output depend on the content of the input :-]... just
> kidding.
On 5 September 2013 10:21, Renato Golin wrote:
> While searching for a version number comparison, I found a few custom
> solutions[1][2], but nothing official. Is there a canonical way of saying:
>
> IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)
> do_something...
> END
>
> If not, which is the custom
Thanks! That answers my question. ;)
--renato
On 5 September 2013 10:26, Eric Noulard wrote:
> 2013/9/5 Renato Golin :
> > While searching for a version number comparison, I found a few custom
> > solutions[1][2], but nothing official. Is there a canonical way of
> saying:
> >
> > IF (LIBXML2_
Am 05.09.2013 11:21, schrieb Renato Golin:
While searching for a version number comparison, I found a few custom
solutions[1][2], but nothing official. Is there a canonical way of
saying:
IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)
do_something...
END
If not, which is the custom solution I sho
2013/9/5 Renato Golin :
> While searching for a version number comparison, I found a few custom
> solutions[1][2], but nothing official. Is there a canonical way of saying:
>
> IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)
> do_something...
> END
>
> If not, which is the custom solution I should use?
While searching for a version number comparison, I found a few custom
solutions[1][2], but nothing official. Is there a canonical way of saying:
IF (LIBXML2_VERSION GREATER_EQUAL 2.8.0)
do_something...
END
If not, which is the custom solution I should use?
Thanks!
--renato
[1] http://www.cmak
Yes, from the Documentation:
The "general" keyword corresponds to all configurations, and is
purely optional (assumed if omitted).
I think the primary reason for having separate libraries on Windows but
not Redhat is that Visual Studio provides separate runtimes for Debug
and Release
Using Latest version of CMake on Windows 7 and Redhat 6
Running the below code on both platforms produce slightly different content in
QT_LIBRARIES.
FIND_PACKAGE(Qt4 4.7.1 COMPONENTS QtCore QtGui)
IF (QT4_FOUND)
MESSAGE(STATUS "QT_LIBRARIES: ${QT_LIBRARIES}"
ENDIF()
On Windows I get;
"Op
19 matches
Mail list logo