61 lines
1.9 KiB
CMake
61 lines
1.9 KiB
CMake
option(LIBICSNEO_BUILD_C_INTERACTIVE_EXAMPLE "Build the command-line interactive C example." ON)
|
|
option(LIBICSNEO_BUILD_C_SIMPLE_EXAMPLE "Build the command-line simple C example." ON)
|
|
option(LIBICSNEO_BUILD_C_LEGACY_EXAMPLE "Build the command-line simple C example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_SIMPLE_EXAMPLE "Build the simple C++ example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_INTERACTIVE_EXAMPLE "Build the command-line interactive C++ example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_A2B_EXAMPLE "Build the A2B example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_LIN_EXAMPLE "Build the LIN example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_LIVEDATA_EXAMPLE "Build the Live Data example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_COREMINI_EXAMPLE "Build the Coremini example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_MDIO_EXAMPLE "Build the MDIO example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_VSA_EXAMPLE "Build the VSA example." ON)
|
|
option(LIBICSNEO_BUILD_CPP_APP_ERROR_EXAMPLE "Build the app error example." ON)
|
|
|
|
if(LIBICSNEO_BUILD_C_INTERACTIVE_EXAMPLE)
|
|
add_subdirectory(c/interactive)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_C_SIMPLE_EXAMPLE)
|
|
add_subdirectory(c/simple)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_C_LEGACY_EXAMPLE)
|
|
add_subdirectory(c/legacy)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_SIMPLE_EXAMPLE)
|
|
add_subdirectory(cpp/simple)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_INTERACTIVE_EXAMPLE)
|
|
add_subdirectory(cpp/interactive)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_A2B_EXAMPLE)
|
|
add_subdirectory(cpp/a2b)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_LIN_EXAMPLE)
|
|
add_subdirectory(cpp/lin)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_LIVEDATA_EXAMPLE)
|
|
add_subdirectory(cpp/livedata)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_COREMINI_EXAMPLE)
|
|
add_subdirectory(cpp/coremini)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_MDIO_EXAMPLE)
|
|
add_subdirectory(cpp/mdio)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_VSA_EXAMPLE)
|
|
add_subdirectory(cpp/vsa)
|
|
endif()
|
|
|
|
if(LIBICSNEO_BUILD_CPP_APP_ERROR_EXAMPLE)
|
|
add_subdirectory(cpp/apperror)
|
|
endif()
|