38f7d8c0290d8888db426e6848720bf08b62f8a4
Stefan Schuermans trace dump utility

Stefan Schuermans authored 4 years ago

1) add_custom_command(
2)   OUTPUT
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

3)   ${CMAKE_CURRENT_BINARY_DIR}/uproctrace_pb2.py
Stefan Schuermans trace dump utility

Stefan Schuermans authored 4 years ago

4)   DEPENDS
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

5)   ${CMAKE_SOURCE_DIR}/uproctrace.proto
Stefan Schuermans trace dump utility

Stefan Schuermans authored 4 years ago

6)   COMMAND
7)   protoc --proto_path ${CMAKE_SOURCE_DIR}
8)          --python_out ${CMAKE_CURRENT_BINARY_DIR}
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

9)          uproctrace.proto
Stefan Schuermans trace dump utility

Stefan Schuermans authored 4 years ago

10) )
11) 
12) add_custom_command(
13)   OUTPUT
14)   ${CMAKE_CURRENT_BINARY_DIR}/dump.py
15)   DEPENDS
16)   ${CMAKE_CURRENT_SOURCE_DIR}/dump.py
17)   COMMAND
18)   cp -a ${CMAKE_CURRENT_SOURCE_DIR}/dump.py ${CMAKE_CURRENT_BINARY_DIR}/dump.py
19) )
20) 
21) add_custom_target(
22)   dump
23)   ALL
24)   DEPENDS
Stefan Schuermans rename: lwproctrace -> upro...

Stefan Schuermans authored 4 years ago

25)   ${CMAKE_CURRENT_BINARY_DIR}/uproctrace_pb2.py