/[lmdze]
ViewVC logotype

Revision 351


Jump to revision: Previous Next
Author: guez
Date: Tue Jan 7 11:59:00 2020 UTC (4 years, 3 months ago)
Changed paths: 5
Log Message:
Simplify `CMakeLists.txt` files

Take advantage of improved building of libraries: use `find_package`
instead of `find_path` and `find_library`.

Link each executable to target `LMDZE_objects` instead of including the
corresponding objects in the definition of the target executable. This
way, the executable inherits the dependencies of `LMDZE_objects` and
we do not need them in `library_list`.

Remove the definition of `library_list`. Replace the reference to
`library_list` by references to just `netcdff_LIBRARY` and `NetCDF_LIBRARY`.


Changed paths

Path Details
Directorytrunk/CMakeLists.txt modified , text changed
Directorytrunk/dyn3d/CMakeLists.txt modified , text changed
Directorytrunk/dyn3d/Inter_barxy/CMakeLists.txt modified , text changed
Directorytrunk/filtrez/CMakeLists.txt modified , text changed
Directorytrunk/phylmd/CMakeLists.txt modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.21