Add CMake definitions (#79)

This commit is contained in:
Rob Loach
2020-04-16 07:24:03 -04:00
committed by GitHub
parent 5191022a6b
commit 0fdacc87f6
5 changed files with 91 additions and 0 deletions

10
src/CMakeLists.txt Normal file
View File

@ -0,0 +1,10 @@
add_library(raygui INTERFACE)
file(GLOB sources *.h)
set(RAYGUI_HEADERS, ${sources})
install(FILES
${RAYGUI_HEADERS} DESTINATION include/
)
target_include_directories(raygui INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/)