fixes cmake configuration
This commit is contained in:
@@ -1,8 +1,15 @@
|
||||
add_library(modals STATIC)
|
||||
|
||||
file(GLOB M_HEADERS "*.h")
|
||||
file(GLOB M_SOURCES "*.c")
|
||||
|
||||
target_link_directories(modals
|
||||
PRIVATE
|
||||
"../widget/"
|
||||
"../widget_core/"
|
||||
"../lib/"
|
||||
"../utils/"
|
||||
)
|
||||
|
||||
target_link_libraries(modals
|
||||
PRIVATE
|
||||
widget
|
||||
@@ -17,10 +24,5 @@ target_sources(modals
|
||||
PUBLIC
|
||||
FILE_SET HEADERS
|
||||
FILES
|
||||
${M_HEADERS}
|
||||
)
|
||||
|
||||
target_include_directories(modals PRIVATE "../widget")
|
||||
target_include_directories(modals PRIVATE "../widget_core")
|
||||
target_include_directories(modals PRIVATE "../lib/")
|
||||
target_include_directories(widget PRIVATE "../utils/")
|
||||
modals.h
|
||||
)
|
||||
+1
-3
@@ -1,6 +1,4 @@
|
||||
#include "app.h"
|
||||
#include "dialogue.h"
|
||||
#include "widget_core.h"
|
||||
#include <widget.h>
|
||||
#include <ncurses.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
#define ASK_SERVER_ADDR_H
|
||||
|
||||
#include <widget.h>
|
||||
#include "../widget/dialogue.h"
|
||||
|
||||
dialogue_t *init_asa_modal(app_t *app);
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#ifndef MODALS_H
|
||||
#define MODALS_H
|
||||
#include "alert.h"
|
||||
#include "ask_server_addr.h"
|
||||
#include "download_pr.h"
|
||||
#include "login_credentials.h"
|
||||
#include "login_option.h"
|
||||
#include "notification.h"
|
||||
#include "register.h"
|
||||
#include "server_message.h"
|
||||
#include "upload_dialogue.h"
|
||||
#include "upload_props_dialogue.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user