File tree Expand file tree Collapse file tree 3 files changed +3
-24
lines changed Expand file tree Collapse file tree 3 files changed +3
-24
lines changed Original file line number Diff line number Diff line change 1- cmake_minimum_required (VERSION 3.11)
2-
3- project (
4- CMake_Test
5- VERSION 1.0
6- DESCRIPTION "Test"
7- LANGUAGES C
8- )
9-
10- add_subdirectory (include )
11-
12- add_subdirectory (apps)
1+ #Insert your code here :)
Original file line number Diff line number Diff line change 1- add_executable (hello main.c)
2-
3- target_link_libraries (hello PRIVATE myActionLib)
1+ #Insert your code here :)
Original file line number Diff line number Diff line change 1- add_library (myActionLib SHARED action.c action.h)
2-
3- add_library (myMessageLib SHARED message.c message.h)
4-
5- target_include_directories (myActionLib INTERFACE ../include )
6-
7- target_include_directories (myMessageLib PRIVATE ../include )
8-
9- target_link_libraries (myActionLib PRIVATE myMessageLib)
1+ #Insert your code here :)
You can’t perform that action at this time.
0 commit comments