mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
23 lines
263 B
CMake
23 lines
263 B
CMake
find_command(
|
|
VARIABLE
|
|
CPPLINT_PROGRAM
|
|
COMMAND
|
|
cpplint
|
|
REQUIRED
|
|
OFF
|
|
)
|
|
|
|
register_command(
|
|
TARGET
|
|
cpplint
|
|
COMMENT
|
|
"Running cpplint"
|
|
COMMAND
|
|
${CPPLINT_PROGRAM}
|
|
${BUN_CPP_SOURCES}
|
|
CWD
|
|
${BUILD_PATH}
|
|
TARGETS
|
|
${bun}
|
|
)
|