2 # CMake project file for UNRESPACK
7 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/libxdrf.c
9 ARGS ${CMAKE_CURRENT_SOURCE_DIR}/underscore.m4 ${CMAKE_CURRENT_SOURCE_DIR}/libxdrf.m4 > ${CMAKE_CURRENT_BINARY_DIR}/libxdrf.c
13 # add headers from current dir
14 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
15 # compile the libxdrf library
16 add_library(xdrf STATIC ${CMAKE_CURRENT_BINARY_DIR}/libxdrf.c ftocstr.c)
17 set(UNRES_XDRFLIB ${CMAKE_CURRENT_BINARY_DIR}/libxdrf.a PARENT_SCOPE)
19 #add_dependencies( ${UNRES_BIN} xdrf )