Re: [CMake] (no subject)

2018-01-31 Thread Marco Schuler
In your cmakelists.txt search for cmake_minumum_required and replace the
version with the version of cmake that you have installed. You might be
lucky and your program compiles.

P.S.: Please do not leave empty the subject of your e-mail...

Am 31.01.2018 18:29 schrieb "kartikay gupta" :

> Hi
>
> I want to install cmake 3.10 to my institute high performace computing
> without root access, in local directory. I am able to install it, but still
> when I call the command 'cmake .. -DUSE_CUDA=ON' , it asks to upgrade cmake
> to atleast 3.5.
> What should be done to load cmake 3.10?
>
>
>
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/
> opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> https://cmake.org/mailman/listinfo/cmake
>
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[cmake-developers] Fwd: Creating a Keil uVision generator

2017-01-13 Thread Marco Schuler
From: Marco Schuler <marco.schu...@gmail.com>
Date: 2017-01-12 11:16 GMT+01:00
Subject: Re: [cmake-developers] Creating a Keil uVision generator
To: Paul Wilkinson <paul.wilkin...@cmedrobotics.com>


Hi all

2017-01-03 0:27 GMT+01:00 Paul Wilkinson <paul.wilkin...@cmedrobotics.com>:

> Hi all,
>
> I am involved in a software project targeting a handful of ARM Cortex-M
> microcontrollers. We develop the software using the Keil uVision v5 IDE
> [1]. We
> are considering whether CMake could help us with some of the limitations we
> encounter using uVision alone.


Same here. Lots of different boards and applications with shared code. It
is a nightmare to manage all the configurations in uVision!

I was thinking and investigating for a uVision generator some time ago
already. I was also talking to the people from Keil at the embedded world
congress about it. They did not like an approach using a template project
that would be filled in with contents derived from CMake. There approach
would be to generate a project-import file (xml) that can be imported with
uVision using the -i option (see http://www.keil.com/
support/man/docs/uv4/uv4_commandline.htm). The format of such a file is
specified in "C:\Keil_v5\UV4\project_import.xsd".

The problem with such an import is that the available options are not
sufficient for most cases.


> Does anyone have experience or insight in to creating a CMake generator
> for an
> embedded systems IDE like uVision?
>
> Read on for some technical details.
>
> A uVision project's structure appears _roughly_ similar to a Microsoft
> Visual
> Studio 12 project. uVision has a Multi-Project Workspace (.uvmpw) rather
> than a
> VS solution (.sln), and a uVision Project (.uvprojx) instead of a VS
> project
> (.vcxproj).


While looking at the directory that contains the project_import.xsd, I
struggled over the following files:

- project_optx.xsd
- project_mpw.xsd
- project_proj.xsd
- project_opt.xsd
- project_projx.xsd

Here, all the possible options for project-/opt-/uvmpw-files are defined.
Maybe these could be a starting-point for a uVision generator.


>
>

> Some of the benefits I would imagine we would get from such a generator:
>
> - more human-friendly and diff-friendly project files (CMakeLists.txt
> instead
>   of .uvprojx)
>
> - avoiding a combinatorial explosion of configurations by using the CMake
>   language and its cache variables.
>

I fully agree to these points!

--
Cheers!
 Marco

> 
>
> This e-mail message is confidential and for use by the addressee only. If
> you are not the intended recipient, you must not use, disclose, copy or
> forward this transmission. Please return the message to the sender by
> replying to it and then delete the message from your computer. Cambridge
> Medical Robotics shall not be held liable to any person resulting from the
> use of any information contained in this e-mail and shall not be liable to
> any person who acts or omits to do anything in reliance upon it. Cambridge
> Medical Robotics does not accept responsibility for changes made to this
> message after it was sent.
>
> Company Information:
> Name: Cambridge Medical Robotics Limited.
> Registered Address: Unit 2, Crome Lea Business Park, Madingley Road,
> Cambridge, CB23 7PH, UK.
> Registered as a Company in England: 08863657 VAT Number: GB 186 4383 74.
> i...@cmedrobotics.com
> --
>
> Powered by www.kitware.com
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
>
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensou
> rce/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/cmake-developers
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

[CMake] Correct way to use ARMCC (Files in Modules/Compiler/ARMCC*)

2016-09-19 Thread Marco Schuler
Hello

While investigating on how I can use cmake to build my embedded targets
(cortex m3), I struggled over the the files in Modules/Compiler/
(distributed with cmake installation). There seems to be native support for
my armcc compiler.

However, I could not find any information on how to properly use these
files. Do I have to provide ARMCC.cmake to cmake as toolchain file? Do I
use them in my toolchain file? In my CMakeLists.txt? Is the documantation
"cmake-toolchain(7)" related to it?

Any directions and hint on how to use these files are highly appreciated!

Many thanks in advance!

--
Cheers,
 Marco
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake