include_directories(${PROJECT_SOURCE_DIR}/src/public)
include_directories(${PROJECT_SOURCE_DIR}/src)
include_directories(${PROJECT_SOURCE_DIR}/examples/C/manual)
link_directories(${PROJECT_BINARY_DIR}/examples/C/manual)

add_executable(1_nonadios_example 1_nonadios_example.c)
target_link_libraries(1_nonadios_example adios ${ADIOSLIB_LDADD})

add_executable(2_adios_write 2_adios_write.c)
target_link_libraries(2_adios_write adios ${ADIOSLIB_LDADD})

add_executable(3_adios_read 3_adios_read.c)
target_link_libraries(3_adios_read adios ${ADIOSLIB_LDADD})

add_executable(4_adios_nfiles 4_adios_nfiles.c)
target_link_libraries(4_adios_nfiles adios ${ADIOSLIB_LDADD})

#install(FILES config.xml gread_temperature.ch gwrite_temperature.ch DESTINATION ${PROJECT_BINARY_DIR}/examples/C/manual)

