Skip to content

Commit

Permalink
(hotfix) use clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Anastasios Zouzias committed Nov 18, 2024
1 parent b594c49 commit a9407fe
Show file tree
Hide file tree
Showing 25 changed files with 1,088 additions and 1,180 deletions.
5 changes: 5 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Google C/C++ Code Style settings
# https://google.github.io/styleguide/cppguide.html

Language: Cpp
BasedOnStyle: Google
6 changes: 2 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_library(microgbt STATIC metrics/metric.h trees/tree.h trees/split_info.h
GBT.h dataset.h metrics/logloss.h trees/treenode.h metrics/rmse.h
trees/numerical_splliter.h trees/splitter.h types.h)
gbt.h dataset.h metrics/logloss.h trees/treenode.h metrics/rmse.h
trees/numerical_splliter.h trees/splitter.h gbt_types.h)
set_target_properties(microgbt PROPERTIES POSITION_INDEPENDENT_CODE ON)


Expand All @@ -9,8 +9,6 @@ target_sources(
microgbt
PRIVATE
main.cpp
PUBLIC
${CMAKE_CURRENT_LIST_DIR}/dataset.h
)

target_include_directories(
Expand Down
Loading

0 comments on commit a9407fe

Please sign in to comment.