Skip to content

Commit 514538f

Browse files
chore: format CMakeLists.txt for consistent indentation and style
1 parent 791e75d commit 514538f

1 file changed

Lines changed: 21 additions & 21 deletions

File tree

CMakeLists.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,27 @@ include(FetchContent)
1414

1515
# CLI11 (Header-only CLI parser)
1616
FetchContent_Declare(
17-
cli11
18-
GIT_REPOSITORY https://github.com/CLIUtils/CLI11.git
19-
GIT_TAG v2.6.2
17+
cli11
18+
GIT_REPOSITORY https://github.com/CLIUtils/CLI11.git
19+
GIT_TAG v2.6.2
2020
)
2121
set(CLI11_BUILD_TESTS OFF CACHE BOOL "" FORCE)
2222
set(CLI11_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
2323

2424
# raylib (Windowing, input, and graphics library)
2525
FetchContent_Declare(
26-
raylib
27-
GIT_REPOSITORY https://github.com/raysan5/raylib.git
28-
GIT_TAG 6.0
26+
raylib
27+
GIT_REPOSITORY https://github.com/raysan5/raylib.git
28+
GIT_TAG 6.0
2929
)
3030
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
3131
set(BUILD_GAMES OFF CACHE BOOL "" FORCE)
3232

3333
# qjswrapper (C++ wrapper around QuickJS)
3434
FetchContent_Declare(
35-
qjswrapper
36-
GIT_REPOSITORY https://github.com/burdockcascade/qjswrapper.git
37-
GIT_TAG master
35+
qjswrapper
36+
GIT_REPOSITORY https://github.com/burdockcascade/qjswrapper.git
37+
GIT_TAG master
3838
)
3939

4040
# Bring all dependencies into the build tree automatically
@@ -49,27 +49,27 @@ add_executable(vectorjs)
4949

5050
# Add source files to the target
5151
target_sources(vectorjs PRIVATE
52-
"src/main.cpp"
53-
"src/engine.cpp"
54-
"src/api/api_application.cpp"
55-
"src/api/api_classes.cpp"
56-
"src/api/api_enums.cpp"
52+
"src/main.cpp"
53+
"src/engine.cpp"
54+
"src/api/api_application.cpp"
55+
"src/api/api_classes.cpp"
56+
"src/api/api_enums.cpp"
5757
)
5858

5959
# Hide console on Windows, keep standard main() entry point
6060
if(MSVC)
61-
target_link_options(vectorjs PRIVATE
62-
"LINKER:/SUBSYSTEM:WINDOWS"
63-
"LINKER:/ENTRY:mainCRTStartup"
64-
)
61+
target_link_options(vectorjs PRIVATE
62+
"LINKER:/SUBSYSTEM:WINDOWS"
63+
"LINKER:/ENTRY:mainCRTStartup"
64+
)
6565
endif()
6666

6767
# Include directories
6868
target_include_directories(vectorjs PRIVATE src)
6969

7070
# Link dependencies
7171
target_link_libraries(vectorjs PRIVATE
72-
CLI11::CLI11
73-
raylib
74-
qjswrapper
72+
CLI11::CLI11
73+
raylib
74+
qjswrapper
7575
)

0 commit comments

Comments
 (0)