Skip to content

nirajandata/additional-libs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-env-var

A small C++ libraries

Note

In case if some folks aren't familiar with the use of C++ 20 modules in CMake, here's an example:

cmake_minimum_required(VERSION 3.28)
project(modenv CXX)

file(COPY .env DESTINATION ${CMAKE_BINARY_DIR})
set(CMAKE_CXX_STANDARD 23)
add_library(mod
)

target_sources(mod
        PUBLIC
        FILE_SET CXX_MODULES
        BASE_DIRS ${PROJECT_SOURCE_DIR}/mod
        FILES
        mod/getenv.cxx
        mod/getter.cxx
)

add_executable(modenv src/main.cpp
        src/sisi.h)
target_link_libraries(modenv mod)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages