cgnsBuild.defs 2.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. # makefile include for building CGNS code
  2. # this file contains the options and libraries used for
  3. # building and linking CGNS code, and is intended to be
  4. # included in a user's Makefile from the installation
  5. #-----------------------------------------------------------------------
  6. # CGNS library build options. A 1 indicates that the library
  7. # was built with that option, a 0 indicates without
  8. # CGNS_DEBUG = debug
  9. # CGNS_LEGACY = legacy code (prior to 3.0)
  10. # CGNS_SCOPING = scoping of enums
  11. # CGNS_64BIT = 64 bit support
  12. # CGNS_FORTRAN = Fortran interface
  13. # CGNS_PARALLEL = parallel I/O
  14. # CGNS_BASESCOPE = Base scope for family and zone reference-to
  15. #-----------------------------------------------------------------------
  16. CGNS_DEBUG = 0
  17. CGNS_LEGACY = 0
  18. CGNS_SCOPING = 0
  19. CGNS_64BIT = 1
  20. CGNS_FORTRAN = 0
  21. CGNS_PARALLEL = 0
  22. CGNS_BASESCOPE = 0
  23. #-----------------------------------------------------------------------
  24. # CGNS_LIBDIR - installation directory for CGNS library
  25. # CGNS_INCLUDEDIR - installation directory for CGNS headers
  26. #-----------------------------------------------------------------------
  27. CGNS_LIBDIR = F:\temp\CGNS-4.3.0-INSTALL\lib
  28. CGNS_INCLUDEDIR = F:\temp\CGNS-4.3.0-INSTALL\include
  29. #-----------------------------------------------------------------------
  30. # CGNS_CC - C compiler used to build library
  31. # CGNS_CFLAGS - compiler flags used to build library
  32. # CGNS_LDFLAGS - any additional linking flags
  33. #-----------------------------------------------------------------------
  34. CGNS_CC = D:\software\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\Hostx86\x64\cl.exe
  35. CGNS_CFLAGS = /DWIN32 /D_WINDOWS /W3 /MD /O2 /Ob2 /DNDEBUG
  36. CGNS_LDFLAGS = /machine:x64 /INCREMENTAL:NO
  37. #-----------------------------------------------------------------------
  38. # LIBCGNS - CGNS library name
  39. #-----------------------------------------------------------------------
  40. CGNS_LIB = $(CGNS_LIBDIR)/cgns.lib
  41. #-----------------------------------------------------------------------
  42. # CGNS_HDF5INC - path to HDF5 header files
  43. # CGNS_HDF5LIB - HDF5 library
  44. # CGNS_SZIPLIB - szip library (if needed)
  45. # CGNS_ZLIBLIB - zlib library (if needed)
  46. #-----------------------------------------------------------------------
  47. CGNS_HDF5INC =
  48. CGNS_HDF5LIB = hdf5-shared
  49. CGNS_SZIPLIB =
  50. CGNS_ZLIBLIB =
  51. #-----------------------------------------------------------------------
  52. # CGNS_MPIINC - path to MPI header files
  53. # CGNS_MPILIBS - MPI libraries
  54. #-----------------------------------------------------------------------
  55. CGNS_MPIINC =
  56. CGNS_MPILIBS =
  57. #-----------------------------------------------------------------------
  58. # CGNS_LINKLIBS contains the list of libraries
  59. # with which a CGNS application needs to link
  60. #-----------------------------------------------------------------------
  61. CGNS_LINKLIBS = $(CGNS_LIB) $(CGNS_HDF5LIB) $(CGNS_SZIPLIB) \
  62. $(CGNS_ZLIBLIB) $(CGNS_MPILIBS)