Skip to content

Latest commit

 

History

27 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lunaris Process Library

This is a simple process library that you can add on your project! It works on both Windows and Linux.

There are some tests to check if it builds correctly and they can be disabled with BUILD_TESTS OFF.

How to add the project to your project

Using FetchContent

You can create a file like cmake/installLibrary.cmake and put in there:

include(FetchContent)

FetchContent_Declare(
    lunaris-process
    GIT_REPOSITORY https://github.com/LunarisLib/Lunaris-Process.git
    GIT_TAG        (put version here)
)
FetchContent_MakeAvailable(lunaris-process)

This will allow you to download and link the library like:

# ...

include(cmake/installLibrary.cmake) # does the FetchContent

target_link_libraries(YourProjectName PRIVATE
    lunaris::lunaris-process
)

Using find_package()

If you get the install version with the lib and headers and want to avoid recompiling the library yourself, you can do

# ...

find_package(lunaris-process REQUIRED)

target_link_libraries(YourProjectName PRIVATE
    lunaris::lunaris-process
)

The find_package will try to find the lunaris-process-config.cmake or similar files that should be available to download in the Release tab.

About

This is the process part of the library, an easy interface to process on Windows and Linux (use "sh" and path to sh file as argument for shell scripts on Linux)! Handle process easily!

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages