Skip to content

Commit

Permalink
refactor: move include outside
Browse files Browse the repository at this point in the history
update: version
  • Loading branch information
Lord-Turmoil committed Nov 21, 2024
1 parent 5916a6a commit afa688b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ set(BINARY_NAME "mioc")
set(CMAKE_CXX_STANDARD 11)

project(${PROJECT_NAME}
VERSION 1.2.0
VERSION 1.2.1
DESCRIPTION "A mini IoC implementation with C++"
LANGUAGES CXX)

set(LIBRARY_BASE_PATH "${PROJECT_SOURCE_DIR}")

include_directories("${LIBRARY_BASE_PATH}/mioc/include")
include_directories("${LIBRARY_BASE_PATH}/include")
file(GLOB_RECURSE SRC_LIST CONFIGURE_DEPENDS "${LIBRARY_BASE_PATH}/src/*.cpp")
add_library(${BINARY_NAME} ${SRC_LIST})
target_include_directories(${BINARY_NAME} PUBLIC ${INCLUDE_DIRECTORIES})
Expand Down
File renamed without changes.
3 changes: 0 additions & 3 deletions mioc/include/mioc/Macros.h → include/mioc/Macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
#ifndef _MIOC_MACROS_H_
#define _MIOC_MACROS_H_

#define MIOC_VERSION "1.2.0"
#define MIOC_PROJ_NAME "Tony's Mini IoC"

#define MIOC_BEGIN \
namespace mioc \
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit afa688b

Please sign in to comment.