Skip to content

Commit

Permalink
Move files form inculde to subdir qingstor.
Browse files Browse the repository at this point in the history
  • Loading branch information
MorvenH committed Feb 24, 2018
1 parent fb00dc4 commit ce13a1e
Show file tree
Hide file tree
Showing 45 changed files with 22 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions include/qingstor/QsSdkOption.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#pragma once

#define BUILD_C_STYLE_INTERFACE

#define QS_SDK_API

#ifdef _WIN32
#include <stdint.h>
#endif

typedef enum LogLevel
{
None = 0,
Fatal = 1,
Error = 2,
Warning = 3,
Info = 4,
Debug = 5,
Verbose = 6
}LogLevel;
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ SET(libqingstor_VERSION_API 1)

GET_FILENAME_COMPONENT(PARENT_DIR ${CMAKE_CURRENT_SOURCE_DIR} DIRECTORY)
SET(libqingstor_ROOT_SOURCES_DIR ${PARENT_DIR}/src)
SET(libqingstor_INCLUDE_DIR ${PARENT_DIR}/include ${libqingstor_ROOT_SOURCES_DIR}/include)
SET(libqingstor_INCLUDE_DIR ${PARENT_DIR}/include/qingstor ${libqingstor_ROOT_SOURCES_DIR}/include)

GET_FILENAME_COMPONENT(COMPILER_DIR ${CMAKE_CXX_COMPILER} DIRECTORY)
GET_FILENAME_COMPONENT(VC_DIR ${COMPILER_DIR} DIRECTORY)
Expand All @@ -32,7 +32,7 @@ IF(ENABLE_DEBUG)
ENDIF(ENABLE_DEBUG)


CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/QsSdkOption.h.in" "${PARENT_DIR}/include/QsSdkOption.h")
CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/QsSdkOption.h.in" "${PARENT_DIR}/include/qingstor/QsSdkOption.h")

AUTO_SOURCES(files "external/yaml/*.c" "RECURSE" "${CMAKE_CURRENT_SOURCE_DIR}")
LIST(APPEND libqingstor_SOURCES ${files})
Expand Down

0 comments on commit ce13a1e

Please sign in to comment.