Skip to content

Commit

Permalink
got non-async build working
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 5, 2016
1 parent 8e34e30 commit b16142f
Show file tree
Hide file tree
Showing 3 changed files with 464 additions and 463 deletions.
12 changes: 7 additions & 5 deletions src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ set (PIO_C_SRCS topology.c
bget.c)

set (PIO_GENNC_SRCS
${CMAKE_CURRENT_BINARY_DIR}/pio_nc4.c
${CMAKE_CURRENT_BINARY_DIR}/pio_put_nc.c
${CMAKE_CURRENT_BINARY_DIR}/pio_get_nc.c)
${CMAKE_CURRENT_BINARY_DIR}/pio_nc4.c)

if (PIO_ENABLE_ASYNC)
set (PIO_ADDL_SRCS pio_nc2.c pio_msg.c)
set (PIO_ADDL_SRCS pio_nc_async.c pio_put_nc_async.c pio_get_nc_async.c pio_msg.c)
else ()
set (PIO_ADDL_SRCS pio_nc.c)
set (PIO_GENNC_SRCS ${CMAKE_CURRENT_BINARY_DIR}/pio_put_nc.c
${CMAKE_CURRENT_BINARY_DIR}/pio_get_nc.c
${CMAKE_CURRENT_BINARY_DIR}/pio_nc4.c
${CMAKE_CURRENT_BINARY_DIR}/pio_nc.c)
set (PIO_ADDL_SRCS ${PIO_GENNC_SRC})
endif ()

add_library (pioc ${PIO_C_SRCS} ${PIO_GENNC_SRCS} ${PIO_ADDL_SRCS})
Expand Down
Loading

0 comments on commit b16142f

Please sign in to comment.