Skip to content

Commit 937b028

Browse files
committed
默认编译CodeFormat
1 parent 3955f59 commit 937b028

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ project(LuaCodeStyle)
55
set(CMAKE_CXX_STANDARD 20)
66

77
option(BuildAsLuaLib "Build for lua dll" OFF)
8-
option(BuildCodeFormat "Build CodeFormat" OFF)
8+
option(BuildCodeFormat "Build CodeFormat" ON)
99
option(BuildCodeFormatServer "Build CodeFormatServer" ON)
1010
option(EnableTest "Test project" ON)
1111

@@ -37,9 +37,10 @@ if(BuildCodeFormatServer)
3737
add_subdirectory(CodeFormatServer)
3838
endif()
3939

40-
add_subdirectory(Test2)
4140
if(EnableTest)
4241
enable_testing()
4342
add_subdirectory(3rd/googletest-1.12.1)
4443
add_subdirectory(Test)
44+
# for feature develop simple test
45+
add_subdirectory(Test2)
4546
endif()

0 commit comments

Comments
 (0)