#937 closed upgrade (Done)
Refactored the location of cpp_clean when using CMake — at Version 2
Reported by: | arango | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Release ROMS/TOMS 4.1 |
Component: | Nonlinear | Version: | 4.0 |
Keywords: | Cc: |
Description (last modified by )
- Unified the location of cpp_clean in standalone ROMS and ROMS-JEDI for CMake configuration. In Compilers/roms_functions.cmake we now have:
# Functions used in CMake to overcome its rudimentary capabilities. find_program( GREP NAMES grep egrep DOC "Grep command" REQUIRED ) find_program( PERL NAMES perl DOC "Perl command" REQUIRED ) find_program( CPP_CLEAN NAMES cpp_clean HINTS "${CMAKE_CURRENT_SOURCE_DIR}/ROMS/Bin/" DOC "ROMS CPP Clean command" REQUIRED ) find_program( CPP_EXECUTABLE NAMES cpp DOC "C-preprocessor command" REQUIRED ) message( STATUS "CMAKE_SOURCE_DIR=${CMAKE_SOURCE_DIR}" ) message( STATUS "CMAKE_CURRENT_SOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}" ) message( STATUS "CPP_CLEAN=${CPP_CLEAN}" )
- Added CMake (cbuild_roms.csh and cbuild_roms.sh) scripts to all the applications in the test repository. As build_roms.csh and build_roms.sh, they can be used for any version of ROMS in the git and svn repositories.
Change History (2)
comment:1 by , 15 months ago
Resolution: | → Done |
---|---|
Status: | new → closed |
comment:2 by , 15 months ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.