Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
added a cacheinit configuration file for the netcdf-fortran build on …
Browse files Browse the repository at this point in the history
…Windows (rough draft)
  • Loading branch information
daminton committed Sep 25, 2023
1 parent f96817c commit 1735a5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions buildscripts/netcdf-fortran-cacheinit.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
SET(netCDF_INCLUDE_DIR "C:/Program Files/netCDF 4.9.2/include" CACHE PATH "Path to NetCDF-C include directory" FORCE)
SET(netCDF_LIBRARIES "C:/Program Files/netCDF 4.9.2/lib/netcdf.lib" CACHE FILEPATH "Location of NetCDF-C library file" FORCE)
SET(BUILD_SHARED_LIBS OFF CACHE BOOL "Use shared libraries" FORCE)
SET(CMAKE_INSTALL_PREFIX "C:/Program Files/NC4F" CACHE PATH "Installation location" FORCE)
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Compile build type" FORCE)

0 comments on commit 1735a5a

Please sign in to comment.