GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — asyncio/CMakeLists.txt at master · netcan/asyncio

Expand file tree

/

CMakeLists.txt

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
93 lines (78 loc) · 2.68 KB
/

CMakeLists.txt

Copy path

File metadata and controls

93 lines (78 loc) · 2.68 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
cmake_minimum_required(VERSION 3.18)
set(PROJECT_VERSION 1.0.0)
set(TARGET_NAME "asyncio")
project(${TARGET_NAME}
VERSION ${PROJECT_VERSION}
LANGUAGES CXX)
set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
set (CMAKE_LINKER_FLAGS_DEBUG "${CMAKE_LINKER_FLAGS_DEBUG} -fno-omit-frame-pointer -fsanitize=address")
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(ASYNCIO_INC
include/asyncio/asyncio_ns.h
include/asyncio/task.h
include/asyncio/event_loop.h
include/asyncio/runner.h
include/asyncio/handle.h
include/asyncio/concept/future.h
include/asyncio/noncopyable.h
include/asyncio/selector/epoll_selector.h
include/asyncio/selector/kqueue_selector.h
include/asyncio/selector/event.h
include/asyncio/selector/selector.h
include/asyncio/void_value.h
include/asyncio/exception.h
include/asyncio/wait_for.h
include/asyncio/sleep.h
include/asyncio/schedule_task.h
include/asyncio/concept/awaitable.h
include/asyncio/concept/promise.h
include/asyncio/gather.h
include/asyncio/result.h
include/asyncio/callstack.h
include/asyncio/open_connection.h
include/asyncio/stream.h
include/asyncio/start_server.h
include/asyncio/finally.h
)
if(BUILD_SHARED_LIBS)
add_library(asyncio SHARED
${ASYNC_INC}
src/event_loop.cpp)
else()
add_library(asyncio STATIC
${ASYNC_INC}
src/event_loop.cpp)
endif(BUILD_SHARED_LIBS)
if (BUILD_TESTING)
add_subdirectory(third_party/Catch2)
add_subdirectory(third_party/nanobench)
add_subdirectory(test)
endif()
include(GNUInstallDirs)
find_package(fmt REQUIRED)
set_target_properties(${PROJECT_NAME}
PROPERTIES
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION}
OUTPUT_NAME ${PROJECT_NAME}
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_LIBRARY_OUTPUT_DIRECTORY}"
)
target_compile_options(${PROJECT_NAME} PUBLIC -fPIC)
target_include_directories(${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:include>)
target_link_libraries(asyncio PUBLIC fmt::fmt)
install(
DIRECTORY ${CMAKE_SOURCE_DIR}/include/asyncio
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
install(TARGETS ${TARGET_NAME} EXPORT ${TARGET_NAME}Targets
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
RUNTIME DESTINATION bin)
install(EXPORT ${TARGET_NAME}Targets
FILE ${TARGET_NAME}Config.cmake
NAMESPACE ${TARGET_NAME}::
DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/asyncio)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.