1
0

feat: change project layout for new added project

This commit is contained in:
2026-01-30 15:23:01 +08:00
parent 2b9c0296d1
commit 2f59e16590
28 changed files with 161 additions and 36 deletions

View File

@@ -0,0 +1,4 @@
int main(int argc, char *argv[]) {
return 0;
}

View File

@@ -0,0 +1,32 @@
# Create executable
add_executable(BMapInspector "")
# Setup sources
target_sources(BMapInspector
PRIVATE
BMapInspector.cpp
Utils.cpp
)
# Setup headers
target_sources(BMapInspector
PRIVATE
FILE_SET HEADERS
FILES
Utils.hpp
Rule.hpp
)
# Setup header infomation
target_include_directories(BMapInspector
PRIVATE
"${CMAKE_CURRENT_LIST_DIR}"
)
# Setup linked library infomation
target_link_libraries(BMapInspector
PRIVATE
YYCC::YYCCommonplace
LibCmo
)
# Install BMapInspector
install(TARGETS BMapInspector
RUNTIME DESTINATION ${YYCC_INSTALL_BIN_PATH}
)

View File

View File

View File

View File