编写CMakeLists编译pangu http

This commit is contained in:
zhengchao
2018-09-14 11:42:22 +08:00
parent 6f11367a64
commit c1dce174f2
5 changed files with 21 additions and 2 deletions

View File

@@ -1 +1,2 @@
add_subdirectory(decrypt-mirroring)
add_subdirectory(pangu-http)

View File

@@ -1,3 +1,5 @@
#include <pangu_logger.h>
#include <tfe_stream.h>
#include <tfe_utils.h>
#include <tfe_http.h>

View File

@@ -1,5 +1,6 @@
#include <tfe_utils.h>
#include <cJSON.h>
#include <cjson/cJSON.h>
#include "pangu_logger.h"
#include <MESA/MESA_handle_logger.h>
#include <MESA/MESA_prof_load.h>
@@ -7,6 +8,8 @@
#include <arpa/inet.h>
#include <time.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/ioctl.h>

View File

@@ -86,5 +86,5 @@ struct pangu_logger* logger;
//return 0 if SUCCESS, otherwise return -1
int pangu_send_log(struct pangu_logger* logger, const pangu_log* log_msg, struct opt_unit* log_opt, int opt_num);
#endif