The warning you are referring to concerns the cmake version declaration. In 
the present case, it would appear that the cmake version you are using is a 
lot more recent than what deal.II requires. Newer cmake version tend to 
require you to have very high version number of cmake_minimum_required() 
for compatibility reason I suppose. In all cases, if your cmake 
configuration ran, everything should be fine.


regarding:
 make --jobs=4 install

If you configured deal.II with ninja instead of make, then you would use 
the following command:
ninja -j4 install
ninja test

Whether you use ninja or make to compile deal.II won't have any significant 
consequences on the outcome (although ninja is faster).

Cheers
Bruno



On Monday, September 1, 2025 at 5:31:22 p.m. UTC+2 [email protected] 
wrote:

> Hi all,
>
> I built the program on Windows using CMake with Ninja instead of GNU Make:
>
> cmake -G Ninja -DCMAKE_INSTALL_PREFIX=...
>
> Configuration completed with only one warning: 
> "No cmake_minimum_required command is present. A line of code such as 
> cmake_minimum_required(VERSION 3.29) should be added at the top of the 
> file."
>
> It seems to have worked, but I’m not sure if that warning affects this 
> step.
>
> Furthermore, normally the followong instructions say to run:
>
> make --jobs=4 install
> make test
>
> Could you please tell me how I should adapt these commands when using 
> Ninja, and whether I need to add any additional instructions?
>
> Best regards
> paolo
>
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/dealii/14871cdb-84ea-4acd-901b-8899f6cb6ee5n%40googlegroups.com.

Reply via email to