19 lines · plain
1if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${LIBC_TARGET_OS})2 add_subdirectory(${LIBC_TARGET_OS})3endif()4add_custom_target(stdlib-integration-tests)5add_dependencies(libc-integration-tests stdlib-integration-tests)6 7add_integration_test(8 getenv_test9 SUITE10 stdlib-integration-tests11 SRCS12 getenv_test.cpp13 DEPENDS14 libc.src.stdlib.getenv15 ENV16 FRANCE=Paris17 GERMANY=Berlin18)19