-
Notifications
You must be signed in to change notification settings - Fork 129
cmake build capability #140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
c92d931
move Makefile and Makefile_lib to deprecated state
aerorahul 2b8ffd6
add .gitignore
aerorahul 364b368
add CMakeModules git submodule
aerorahul 74463bd
add cmake build
aerorahul 0798535
add missing VERSION file
aerorahul bebcef7
add option to build with/without WRF library. Use WRFIO stubs if buil…
aerorahul 3955745
Merge branch 'develop' into feature/cmake
aerorahul 693563a
missed a file that was in develop, but not in CMakeLists.txt
aerorahul 7d734ee
make sp_4, w3nco_4, w3emc_4 PRIVATE
aerorahul 92e1d4d
clean up nceppost library dependencies.
aerorahul a2ec884
CMakeModules was updated. Update pointer to CMakeModules submoule and…
aerorahul a55f080
report location and version information from the library if found
aerorahul fd95839
Merge branch 'develop' into feature/cmake
aerorahul 3b89c47
add missing files, change permissions on wrongly made executable files
aerorahul 2fa16db
replace VERSION number with something outrageous because they cannot …
aerorahul 318fb06
This commit:
aerorahul 7a8d7d1
clean-up top-level cmakelists of any downstream activity
aerorahul File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,12 +12,10 @@ | |
| build/ | ||
| install/ | ||
|
|
||
| *.[ao] | ||
| *.[aox] | ||
| *.mod | ||
| *.so | ||
| *.exe | ||
| *.x | ||
|
|
||
| *.swp | ||
| configure.upp* | ||
| *.a | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| [submodule "CMakeModules"] | ||
| path = CMakeModules | ||
| url = https://github.com/noaa-emc/CMakeModules | ||
| branch = develop | ||
| [submodule "comupp/src/lib/crtm2"] | ||
| path = sorc/comlibs/crtm2 | ||
| url = https://github.com/NCAR/UPP_CRTM | ||
| [submodule "cmake"] | ||
| path = cmake | ||
| url = https://github.com/NOAA-EMC/CMakeModules | ||
| branch = release/public-v1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CMakeModules
added at
fece61
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,3 @@ | ||
| 1.0.0 | ||
| 9.9.9 | ||
| # This is a placeholder version number. | ||
| # It will be replaced with an appropriate version following a discussion within the UPP management. |
Submodule cmake
deleted from
b605db
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| @PACKAGE_INIT@ | ||
|
|
||
| #@PROJECT_NAME@-config.cmake | ||
| # | ||
| # Imported interface targets provided: | ||
| # * @PROJECT_NAME@::@PROJECT_NAME@ - library target | ||
|
|
||
| # Include targets file. This will create IMPORTED target @PROJECT_NAME@ | ||
| include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-targets.cmake") | ||
| include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@-config-version.cmake") | ||
| include(CMakeFindDependencyMacro) | ||
|
|
||
| find_dependency(MPI) | ||
|
|
||
| # ON/OFF implies @PROJECT_NAME@ was compiled with/without OpenMP | ||
| if(@OPENMP@) | ||
| find_dependency(OpenMP COMPONENTS Fortran) | ||
| endif() | ||
|
|
||
| find_dependency(NetCDF COMPONENTS Fortran) | ||
|
|
||
| find_dependency(w3nco CONFIG) | ||
| find_dependency(g2 CONFIG) | ||
| find_dependency(g2tmpl CONFIG) | ||
| find_dependency(bacio CONFIG) | ||
| find_dependency(ip CONFIG) | ||
| find_dependency(sp CONFIG) | ||
| find_dependency(w3emc CONFIG) | ||
| find_dependency(crtm CONFIG) | ||
|
|
||
| # nceppost library does not depend on these, the executable does. | ||
| #find_dependency(sigio CONFIG) | ||
| #find_dependency(sfcio CONFIG) | ||
| #find_dependency(nemsio CONFIG) | ||
| #find_dependency(gfsio CONFIG) | ||
|
|
||
| # Get the build type from library target | ||
| get_target_property(@PROJECT_NAME@_BUILD_TYPES @PROJECT_NAME@::@PROJECT_NAME@ IMPORTED_CONFIGURATIONS) | ||
|
|
||
| check_required_components("@PROJECT_NAME@") | ||
|
|
||
| get_target_property(location @PROJECT_NAME@::@PROJECT_NAME@ LOCATION) | ||
| message(STATUS "Found @PROJECT_NAME@: ${location} (found version \"${PACKAGE_VERSION}\")") | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| list(APPEND parmfiles | ||
| postxconfig-NT-GFS.txt | ||
| postxconfig-NT-GFS-F00.txt) | ||
|
|
||
| install(FILES ${parmfiles} DESTINATION share) |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.