🚚 Improved project structure
This commit is contained in:
parent
6b9513987a
commit
3096ba0637
15 changed files with 55 additions and 37 deletions
|
|
@ -7,11 +7,11 @@ find_package(X11 REQUIRED)
|
|||
set(CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -fsanitize=address")
|
||||
|
||||
add_executable(aswm
|
||||
src/main.c
|
||||
src/create.c
|
||||
src/configure.c
|
||||
src/reparent.c
|
||||
src/destroy.c
|
||||
src/map.c)
|
||||
src/aswm/main.c
|
||||
src/aswm/event_handlers/create.c
|
||||
src/aswm/event_handlers/configure.c
|
||||
src/aswm/event_handlers/reparent.c
|
||||
src/aswm/event_handlers/destroy.c
|
||||
src/aswm/event_handlers/map.c)
|
||||
target_include_directories(aswm PUBLIC ${X11_INCLUDE_DIR} include)
|
||||
target_link_libraries(aswm ${X11_LIBRARIES})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue