| | |
| | | |
| | | |
| | | |
| | | # add the MathFunctions library |
| | | # if(USE_MYMATH) |
| | | # add_subdirectory(MathFunctions) |
| | | # list(APPEND EXTRA_LIBS MathFunctions) |
| | | # endif() |
| | | |
| | | # list(APPEND EXTRA_INCLUDES "${PROJECT_SOURCE_DIR}/include/usgcommon") |
| | | # list(APPEND EXTRA_LIBS lib/usgcommon) |
| | | list(APPEND EXTRA_INCLUDES "${PROJECT_SOURCE_DIR}/include/usgcommon") |
| | | list(APPEND EXTRA_LIBS ${PROJECT_SOURCE_DIR}/lib/libusgcommon.a pthread) |
| | | |
| | | add_subdirectory(${PROJECT_SOURCE_DIR}/src) |
| | | # list(APPEND EXTRA_LIBS shm_queue) |
| | | |
| | | |
| | | # target_link_libraries(B_BUS PUBLIC ${EXTRA_LIBS}) |
| | | |
| | | # add the binary tree to the search path for include files |
| | | # so that we will find BusConfig.h |
| | | # target_include_directories(B_BUS PUBLIC |
| | | # "${PROJECT_BINARY_DIR}" |
| | | # ${EXTRA_INCLUDES} |
| | | # ) |
| | | |
| | | # add the executable |
| | | # add_executable(B_BUS B_BUS.cxx) |
| | | # add the install targets |
| | | # install(TARGETS B_BUS DESTINATION bin) |
| | | # install(FILES "${PROJECT_BINARY_DIR}/BusConfig.h" |
| | | # DESTINATION include |
| | | # ) |
| | | |
| | | add_subdirectory(${PROJECT_SOURCE_DIR}/test_net_socket) |