Skip to content

coderarjob/CMake-FindZig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FindZig for CMake

FindZig module finds the zig language compiler executable on the system for use within CMake. To use add FindZig.cmake file to your CMake project add its location to the CMAKE_MODULE_PATH. Now find_package will be able to find this module.

Finds Zig compiler >= version 0.14.1

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(Zig 0.14.1 REQUIRED)

Finds Zig compiler == version 0.14.1

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
find_package(Zig 0.14.1 EXACT REQUIRED)

See examples in the example folder.

Feedback

Open a GitHub issue or drop a email at arjobmukherjee@gmail.com. I would love to hear your suggestions and feedbacks.

About

Finds zig compiler for user within CMake

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages