File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 2.8.9 )
2
+ set (PROJECT_NAME BrBox )
3
+ project (${PROJECT_NAME} )
4
+ add_subdirectory (sources )
Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 2.8.9 )
2
2
set (PROJECT_NAME BrBoxServices )
3
3
project (${PROJECT_NAME} )
4
+ set (MINIMUM_BRBOX_SYSTEM OFF CACHE BOOL OFF )
5
+ if (${MINIMUM_BRBOX_SYSTEM} )
6
+ add_subdirectory (sysmgr )
7
+ add_subdirectory (dispsrv )
8
+ add_subdirectory (xmproxy )
9
+ else ()
4
10
add_subdirectory (sysmgr )
5
11
#add_subdirectory(smarteye)
6
12
add_subdirectory (gpioctl )
@@ -13,7 +19,7 @@ add_subdirectory(dispsrv)
13
19
#add_subdirectory(lightsense)
14
20
add_subdirectory (modbussrv )
15
21
add_subdirectory (monitsrv )
16
-
22
+ endif ()
17
23
18
24
#for cross compiling
19
25
#cmake -H. -BOutput -DCMAKE_TOOLCHAIN_FILE=/path/to/toolchain-arm-backup.cmake -DCMAKE_INSTALL_PREFIX=/home/user/tmp/
You can’t perform that action at this time.
0 commit comments