Skip to content

Latest commit

 

History

History
92 lines (72 loc) · 2.33 KB

README.md

File metadata and controls

92 lines (72 loc) · 2.33 KB

C++ Library for Windows

  • App & WebView2 classes
  • Filesystem functions
  • Text handling
  • Attachable console

Requirements:

Usage

Git submodule:

git submodule add https://github.com/mthierman/Glow.git libs/Glow
add_subdirectory(libs/Glow)

add_executable(
    ${PROJECT_NAME}
    main.cxx
)

target_link_libraries(
    ${PROJECT_NAME}
    PRIVATE
    glow::glow
)

CMake FetchContent:

include(FetchContent)

FetchContent_Declare(
    glow
    URL https://github.com/mthierman/Glow/archive/refs/heads/main.zip
)
FetchContent_MakeAvailable(glow)

add_executable(
    ${PROJECT_NAME}
    main.cxx
)

target_link_libraries(
    ${PROJECT_NAME}
    PRIVATE
    glow::glow
)

Compiler flags

To use a recommended set of MSVC/Clang flags, optionally link to glow::flags

target_link_libraries(
    ${PROJECT_NAME}
    PRIVATE
    glow::glow
    glow::flags
)

Attributions