Skip to content

Commit cefd956

Browse files
committed
Disable building samples by default
1 parent e4115bc commit cefd956

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ project(aws-greengrass-lite C ASM)
1010
#
1111

1212
option(BUILD_TESTING "Build tests")
13-
option(BUILD_EXAMPLES "Build examples" TRUE)
13+
option(BUILD_EXAMPLES "Build examples")
1414

1515
option(ENABLE_WERROR "Compile warnings as errors")
1616

nix/withOverlays.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ in
4646
nativeBuildInputs = [ pkg-config clang-tools ];
4747
inherit (ggl-clang) buildInputs;
4848
buildPhase = ''
49-
${cmake}/bin/cmake -B $out -S ${clangChecks.src} \
49+
${cmake}/bin/cmake -B $out -S ${clangChecks.src} -D BUILD_EXAMPLES=1 \
5050
-D CMAKE_BUILD_TYPE=Debug ${toString fetchContentFlags}
5151
rm $out/CMakeFiles/CMakeConfigureLog.yaml
5252
'';

0 commit comments

Comments
 (0)