message(STATUS "${PACKAGE} includes: ${${PACKAGE_VAR}_INCLUDE_DIRS}")
endif()
if (${PACKAGE_VAR}_LIBRARIES)
- list(APPEND WS_ALL_LIBS ${${PACKAGE_VAR}_LIBRARIES})
message(STATUS "${PACKAGE} libs: ${${PACKAGE_VAR}_LIBRARIES}")
endif()
if (${PACKAGE_VAR}_DEFINITIONS)
message(STATUS "${PACKAGE} definitions: ${${PACKAGE_VAR}_DEFINITIONS}")
+ string(REPLACE ";" " " _definitions "${${PACKAGE_VAR}_DEFINITIONS}")
+ set(CMAKE_C_FLAGS "${_definitions} ${CMAKE_C_FLAGS}")
+ set(CMAKE_CXX_FLAGS "${_definitions} ${CMAKE_CXX_FLAGS}")
+ endif()
+ if (${PACKAGE_VAR}_LINK_FLAGS)
+ string(REPLACE ";" " " _link_flags "${${PACKAGE_VAR}_LINK_FLAGS}")
+ set(WS_LINK_FLAGS "${_link_flags} ${WS_LINK_FLAGS}")
+ message(STATUS "${PACKAGE} other link flags: ${_link_flags}")
endif()
if (${PACKAGE_VAR}_EXECUTABLE)
message(STATUS "${PACKAGE} executable: ${${PACKAGE_VAR}_EXECUTABLE}")
EXCLUDE_FROM_DEFAULT_BUILD True
)
+include( UseCheckAPI )
+
add_subdirectory( capchild )
add_subdirectory( caputils )
add_subdirectory( codecs )
${WINSPARKLE_LIBRARIES}
)
-if(JSONGLIB_FOUND)
- list(APPEND LIBEPAN_LIBS ${JSONGLIB_LIBRARIES})
-endif()
-
-
if(WIN32)
set(_dll_output_dir "${DATAFILE_DIR}")
add_custom_target(copy_cli_dlls)
ws_compiler_tests.h
ws_diag_control.h
ws_symbol_export.h
+ version_info.h
)
if(NOT WIN32)
COMMAND ${CMAKE_COMMAND} -E tar "cfv" "wsar_html.zip" --format=zip wsar_html
DEPENDS wsar_html
)
+ set_target_properties(wsar_html wsar_html_zip PROPERTIES
+ FOLDER "Docs"
+ EXCLUDE_FROM_DEFAULT_BUILD True
+ )
endif(DOXYGEN_EXECUTABLE)
# Test suite wrapper
endif()
endif()
-include( UseCheckAPI )
CHECKAPI(
NAME
main