CMakeLists for each C file
This commit is contained in:
@ -17,14 +17,9 @@ target_link_libraries(${PROJECT_NAME}
|
||||
glad
|
||||
)
|
||||
|
||||
# Sources
|
||||
file(GLOB_RECURSE SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/*.c)
|
||||
file(GLOB_RECURSE HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
|
||||
|
||||
target_sources(${PROJECT_NAME}
|
||||
PRIVATE
|
||||
${SOURCES}
|
||||
${HEADERS}
|
||||
glfwclient.c
|
||||
)
|
||||
|
||||
# Includes
|
||||
|
Reference in New Issue
Block a user