@@ -14,27 +14,27 @@ include(FetchContent)
1414
1515# CLI11 (Header-only CLI parser)
1616FetchContent_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)
2121set (CLI11_BUILD_TESTS OFF CACHE BOOL "" FORCE )
2222set (CLI11_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE )
2323
2424# raylib (Windowing, input, and graphics library)
2525FetchContent_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)
3030set (BUILD_EXAMPLES OFF CACHE BOOL "" FORCE )
3131set (BUILD_GAMES OFF CACHE BOOL "" FORCE )
3232
3333# qjswrapper (C++ wrapper around QuickJS)
3434FetchContent_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
5151target_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
6060if (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+ )
6565endif ()
6666
6767# Include directories
6868target_include_directories (vectorjs PRIVATE src )
6969
7070# Link dependencies
7171target_link_libraries (vectorjs PRIVATE
72- CLI11::CLI11
73- raylib
74- qjswrapper
72+ CLI11::CLI11
73+ raylib
74+ qjswrapper
7575)
0 commit comments