File tree Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Expand file tree Collapse file tree 3 files changed +22
-0
lines changed Original file line number Diff line number Diff line change 1+ cmake_minimum_required (VERSION 3.21)
2+ project (libut LANGUAGES CXX)
3+
4+ add_library (libut_target_spawn INTERFACE )
5+ target_sources (libut_target_spawn PUBLIC
6+ FILE_SET HEADERS
7+ BASE_DIRS ${CMAKE_CURRENT_SOURCE_DIR} /include
8+ FILES
9+ ${CMAKE_CURRENT_SOURCE_DIR} /include /ut/spawn/spawn.hpp
10+ )
11+ message (STATUS "libut: adding UT::spawn" )
12+ add_library (UT::spawn ALIAS libut_target_spawn)
Original file line number Diff line number Diff line change 1+ #ifndef UT_SPAWN_HPP
2+ #define UT_SPAWN_HPP
3+
4+ #if __cplusplus < 202'002L
5+ # error this file has to be compiled with at least C++20
6+ #endif
7+
8+
9+ #endif // UT_SPAWN_HPP
Original file line number Diff line number Diff line change 1+ simple process spawning (currently Linux only)
You can’t perform that action at this time.
0 commit comments