C’était le procès à ne pas perdre ; Monsanto l’a perdu. Un tribunal fédéral américain de San Francisco (Californie) a condamné, mercredi 27 mars, la firme à verser 80,8 millions de dollars (71,8 millions d’euros) à un malade touché par un lymphome non hodgkinien. Le plaignant, Edwin Hardeman, a utilisé à titre privé un herbicide à base de glyphosate pendant près de trois décennies et a contracté ce cancer rare de la lymphe en 2015. Bayer, qui a racheté Monsanto en 2018, a annoncé faire appel du jugement.
A Basic Starting Point (Step1)
The most basic project is an executable built from source code files. For simple projects a two line CMakeLists.txt file is all that is required. This will be the starting point for our tutorial. The CMakeLists.txt file looks like:
cmake_minimum_required (VERSION 2.6) project (Tutorial) add_executable(Tutorial tutorial.cxx)
Note that this example uses lower case commands in the CMakeLists.txt file. Upper, lower, and mixed case commands are supported by CMake. The source code for tutorial.cxx will compute the square root of a number and the first version of it is very simple, as follows:
// A simple program that computes the square root of a number #include <stdio.h> #include <stdlib.h> #include <math.h> int main (int argc, char *argv[]) { if (argc < 2) { fprintf(stdout,"Usage: %s number\n",argv[0]); return 1; } double inputValue = atof(argv[1]); double outputValue = sqrt(inputValue); fprintf(stdout,"The square root of %g is %g\n", inputValue, outputValue); return 0; }