mirror of
https://github.com/Unidata/netcdf-c.git
synced 2024-12-27 08:49:16 +08:00
9 lines
278 B
CMake
9 lines
278 B
CMake
SET(libncpoco_SOURCES ncpoco.c ncpoco.h)
|
|
IF(MSVC)
|
|
SET(libncpoco_SOURCES ${libncpoco_SOURCES} cp_win32.c)
|
|
ELSE()
|
|
SET(libncpoco_SOURCES ${libncpoco_SOURCES} cp_unix.c)
|
|
ENDIF()
|
|
add_library(ncpoco OBJECT ${libncpoco_SOURCES})
|
|
ADD_EXTRA_DIST(${libncpoco_SOURCES} CMakeLists.txt)
|