mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-11-21 03:13:42 +08:00
This commit is contained in:
parent
d450b9716d
commit
448a95d74d
@ -498,8 +498,13 @@ ENDIF()
|
||||
add_subdirectory(liblib)
|
||||
#MESSAGE(STATUS "Linking with: ${ALL_TLL_LIBS}")
|
||||
|
||||
# Enable Utilities.
|
||||
# For tests and utilities, we are no longer
|
||||
# exporting symbols but rather importing them.
|
||||
IF(BUILD_DLL)
|
||||
REMOVE_DEFINITIONS(-DDLL_EXPORT)
|
||||
ENDIF()
|
||||
|
||||
# Enable Utilities.
|
||||
IF (BUILD_UTILITIES)
|
||||
INCLUDE_DIRECTORIES(ncdump)
|
||||
ADD_SUBDIRECTORY(ncgen)
|
||||
|
@ -3,11 +3,6 @@ SET(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||
INCLUDE_DIRECTORIES(".")
|
||||
|
||||
|
||||
IF(ENABLE_DLL)
|
||||
ADD_DEFINITIONS(-DDLL_NETCDF)
|
||||
REMOVE_DEFINITIONS(-DDLL_EXPORT)
|
||||
ENDIF()
|
||||
|
||||
SET(nctest_SRC add.c atttests.c cdftests.c dimtests.c driver.c emalloc.c error.c misctest.c rec.c slabs.c val.c vardef.c varget.c vargetg.c varput.c varputg.c vartests.c vputget.c vputgetg.c)
|
||||
|
||||
FILE(GLOB COPY_FILES ${CMAKE_CURRENT_SOURCE_DIR}/*.nc)
|
||||
|
Loading…
Reference in New Issue
Block a user