Hi,
Currently it is not possible to create an alias target for an imported target
(I.e. add_library with ALIAS keyword). But I don’t understand what is the
technical constraint or semantic reason behind this limitation.
If anybody can explain this limitation, it will be nice.
--
Powered by
Hello All,
Is it possible to provide git depth option for ExternalProject_Add command?
I see no such option for GIT_... parameters in documentation.
Thank you.
--
Best Regards,
Sergei Nikulov
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://ww
Hi,
I am running 3.2.2 and also get the error with 3.1.0 on a mac.
I have the particular curl library in a custom path.
The following snippet fetches the library correctly for mac and iOS, but not
for iOS-simulator.
I also tried to change find_library to find_path using the real (platform
depend
Hello,
My understanding is that in order to compile .xib's into .nibs, I need to
use xcodebuild. So my next question is: is fixup_bundle() "compatible" with
xcodebuild? I note that when I build the example QtTest using
> cmake -GXcode ..
> xcodebuild -project QtTest.xcodeproj
from within a fresh
Dear all,
Could somebody give me some advice on how unit tests and performance tests
can/should be organized? I'm quite new to cmake (and c++).
Currently, for performance tests I do:
add_executable (mybenchmarks ${MYBENCHMARKS_CPP}
(as I don't want these to run by default)
While for unit tes
2015-05-05 13:34 GMT+02:00 Sjaak Zwart :
> Dear all,
>
> Could somebody give me some advice on how unit tests and performance tests
> can/should be organized? I'm quite new to cmake (and c++).
>
> Currently, for performance tests I do:
> add_executable (mybenchmarks ${MYBENCHMARKS_CPP}
> (as I
It's possible to do anything you want if you provide your own custom
DOWNLOAD_COMMAND.
I'm not aware of any depth options exposed via ExternalProject_Add, though.
HTH,
David
> On May 5, 2015, at 5:19 AM, Sergei Nikulov wrote:
>
> Hello All,
>
> Is it possible to provide git depth option fo
It's possible to do anything you want if you provide your own custom
DOWNLOAD_COMMAND.
I'm not aware of any depth options exposed via ExternalProject_Add, though.
HTH,
David C.
> On May 5, 2015, at 5:19 AM, Sergei Nikulov wrote:
>
> Hello All,
>
> Is it possible to provide git depth option
Hello David,
Thank you for answer.
It could be useful feature for ExternalProject.cmake
What do your think?
2015-05-05 16:13 GMT+03:00 David Cole :
> It's possible to do anything you want if you provide your own custom
> DOWNLOAD_COMMAND.
>
> I'm not aware of any depth options exposed via Exte
Is there any way to set a parameter of a Visual Studio project that is
not directly supported by a CMake property or keyword?
This is especially important for the new platforms in Visual Studio,
like Android or Emscripten. There are a lot of fields I'd like to set,
like "Debuggable" flag, "JAR Dep
I asked about this a while back; I think it comes up repeatedly. The short
answer seems to be that this is not supported, by design, so I have simply
taken to post-processing the generated solutions with Python/Gradle
scripts. Not ideal, but it has been working well enough for me.
Parag Chandr
Hello,
I have been trying to use Cmake 3.2.2 on a Cray XC30 with the Intel compilers
loaded. I encounter the following error:
/opt/cray/craype/2.2.0/bin/cc -o
CMakeFiles/cmTryCompileExec2303156381.dir/testCCompiler.c.o -c
/p/home/lpettey/adh/parmetis-4.0.3/build/Linux-x86_64/CMakeFiles/CM
CHEVRIER, Marc wrote:
>
> Hi,
>
> Currently it is not possible to create an alias target for an imported
> target (I.e. add_library with ALIAS keyword). But I don’t understand what
> is the technical constraint or semantic reason behind this limitation. If
> anybody can explain this limitation,
Lucas,
When using CMake on our Cray environments (XE6, Intel compilers under the Cray
wrappers), I do the following:
1. Create CMakeCache.txt in the build directory with these contents:
CMAKE_SYSTEM_NAME:STRING=Catamount
CMAKE_C_COMPILER:FILEPATH=cc
CMAKE_CXX_COMPILER:FILEPATH=CC
CMAK
We use a toolchain file to do the same thing:
# the name of the target operating system
SET(CMAKE_SYSTEM_NAME Catamount)
# set the compiler
set(CMAKE_C_COMPILER cc)
set(CMAKE_CXX_COMPILER CC)
set(CMAKE_Fortran_COMPILER ftn)
There is more info on it if you search around:
http://www.cmake
I now believe this is related to a thread back in December:
http://public.kitware.com/pipermail/cmake/2014-December/059298.html
It's super easy to reproduce: make a CMakeLists.txt file with
set(CMAKE_INSTALL_PREFIX "foo") and watch it get written to cmake_install.cmake
regardless of any command-l
Hello,
I’m running cmake 3.2.2 under win7-64.
I used the following toolchain file;
*
INCLUDE(CMakeForceCompiler)
SET(CMAKE_SYSTEM_NAME Generic)
SET(CMAKE_CROSSCOMPILING TRUE)
SET(CMAKE_FORCE_C_COMPILER chc12 MetrowerksHicross)
#SET(CMAKE_C_COMPILER D:/WorkBe
Of course. It would be useful. Perhaps you could propose a patch to add it?
On Tuesday, May 5, 2015, Sergei Nikulov wrote:
> Hello David,
>
> Thank you for answer.
>
> It could be useful feature for ExternalProject.cmake
> What do your think?
>
>
> 2015-05-05 16:13 GMT+03:00 David Cole >:
>
>>
My need is the following:
I have two imported targets, let say, IMPORTED::TARGET and
IMPORTED::STATIC::TARGET
And I have a project which can be customised, through an option, by selecting
which imported target will be used (shared or static).
So I tried, at first place:
if (USE_IMPORTED_STATI
19 matches
Mail list logo