Commit 623dca2
committed
cmake: remove all dead compiler-specific flag blocks from CMakeLists.txt
All compiler flag logic for MSVC, SunPro, Intel Classic (icl/icpc), and
GCC was already migrated to the modern target-based mechanism in
Installation/cmake/modules/CGAL_SetupCGALDependencies.cmake, which uses
target_compile_options()/target_link_libraries() INTERFACE. The old
blocks used uniquely_add_flags(CGAL_CXX_FLAGS ...) which is the
obsolete global-variable approach.
Removed dead blocks:
- MSVC: /fp:strict, /fp:except-, /bigobj, _SCL_SECURE_NO_DEPRECATE,
CMAKE_CXX_WARNING_LEVEL (all superseded by target_compile_options in
CGAL_setup_CGAL_flags())
- SunPro: -features=extensions, -library=stlport4, -D_GNU_SOURCE,
linker flags (superseded by target_compile_options +
target_link_libraries in CGAL_setup_CGAL_flags())
- Intel Classic (icl/icpc): /fp:strict / -fp-model=strict, version
check for < 11.0 (superseded; Intel < 11.0 from 2008 cannot support
the C++17 that CGAL now requires)
- GCC: -Wall for test suite, -frounding-math regex check, -g stripping
from CMAKE_CXX_FLAGS, -mieee -mfp-rounding-mode=d for alpha
(all superseded by target_compile_options in CGAL_setup_CGAL_flags())
The entire empty FLAGS section header is also removed.
Closes #69231 parent b9ddbf2 commit 623dca2
1 file changed
+0
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
390 | | - | |
391 | | - | |
392 | | - | |
393 | | - | |
394 | | - | |
395 | | - | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
403 | | - | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | 390 | | |
482 | 391 | | |
483 | 392 | | |
| |||
0 commit comments