/[lmdze]/trunk/dyn3d/CMakeLists.txt
ViewVC logotype

Diff of /trunk/dyn3d/CMakeLists.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 349 by guez, Mon Dec 23 15:07:24 2019 UTC revision 351 by guez, Tue Jan 7 11:59:00 2020 UTC
# Line 6  foreach(my_dir Guide Dissipation Inter_b Line 6  foreach(my_dir Guide Dissipation Inter_b
6    include(${CMAKE_CURRENT_LIST_DIR}/${my_dir}/CMakeLists.txt)    include(${CMAKE_CURRENT_LIST_DIR}/${my_dir}/CMakeLists.txt)
7  endforeach(my_dir)  endforeach(my_dir)
8    
9  add_executable(gcm $<TARGET_OBJECTS:LMDZE_objects>  add_executable(gcm ${CMAKE_CURRENT_LIST_DIR}/gcm.f90)
10    ${CMAKE_CURRENT_LIST_DIR}/gcm.f90)  target_link_libraries(gcm LMDZE_objects ${netcdff_LIBRARY} ${NetCDF_LIBRARY})
11    
12  target_include_directories(gcm PRIVATE ${netcdf95_INCLUDE_DIR})  add_executable(test_fxhyp ${CMAKE_CURRENT_LIST_DIR}/test_fxhyp.f90)
13  target_link_libraries(gcm ${library_list})  target_link_libraries(test_fxhyp LMDZE_objects ${netcdff_LIBRARY}
14      ${NetCDF_LIBRARY})
15    
16  add_executable(test_fxhyp $<TARGET_OBJECTS:LMDZE_objects>  add_executable(ce0l ${CMAKE_CURRENT_LIST_DIR}/ce0l.f90)
17    ${CMAKE_CURRENT_LIST_DIR}/test_fxhyp.f90)  target_link_libraries(ce0l LMDZE_objects ${netcdff_LIBRARY} ${NetCDF_LIBRARY})
   
 target_link_libraries(test_fxhyp ${library_list})  
   
 add_executable(ce0l $<TARGET_OBJECTS:LMDZE_objects>  
   ${CMAKE_CURRENT_LIST_DIR}/ce0l.f90)  
   
 target_link_libraries(ce0l ${library_list})  

Legend:
Removed from v.349  
changed lines
  Added in v.351

  ViewVC Help
Powered by ViewVC 1.1.21