CHORE: Cleaning up the project to work on
This commit is contained in:
+7
-5
@@ -3,7 +3,7 @@ set(CMAKE_C_STANDARD 23)
|
||||
set(CMAKE_C_STANDARD_REQUIRED ON)
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
include_directories(include)
|
||||
project(image_rasterizer LANGUAGES C)
|
||||
project(libgl LANGUAGES C)
|
||||
|
||||
set(SOURCES
|
||||
src/main.c
|
||||
@@ -11,10 +11,12 @@ set(SOURCES
|
||||
|
||||
include(FetchContent)
|
||||
FetchContent_Declare(PROCESSOR
|
||||
GIT_REPOSITORY git@moo:dmm/image_processor.git
|
||||
GIT_TAG main)
|
||||
GIT_REPOSITORY https://git.moomancer.xyz/DarthMooMancer/libimg.git
|
||||
GIT_TAG main
|
||||
GIT_SHALLOW TRUE
|
||||
)
|
||||
FetchContent_MakeAvailable(PROCESSOR)
|
||||
|
||||
add_executable(image_rasterizer ${SOURCES})
|
||||
target_link_libraries(image_rasterizer PRIVATE PROCESSOR)
|
||||
add_executable(libgl ${SOURCES})
|
||||
target_link_libraries(libgl PRIVATE PROCESSOR)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user