File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -95,3 +95,5 @@ add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/sbe-tool/src/main/cpp)
9595add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /sbe-tool/src/test /cpp)
9696add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /sbe-samples/src/main/cpp)
9797add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /sbe-benchmarks/src/main/cpp)
98+ 
99+ add_dependencies (sbe ir_codecs)
Original file line number Diff line number Diff line change 1+ uk_co_real_logic_sbe_ir_generated /* 
Original file line number Diff line number Diff line change 1414# limitations under the License. 
1515# 
1616
17+ add_custom_target (
18+  ir_codecs
19+  java
20+  "-Dsbe.output.dir=${CMAKE_CURRENT_SOURCE_DIR} " 
21+  "-Dsbe.target.language=CPP" 
22+  "-jar"  "${CMAKE_SOURCE_DIR} /sbe-all/build/libs/sbe-all-${SBE_VERSION_TXT} .jar" 
23+  "../resources/sbe-ir.xml" 
24+  WORKING_DIRECTORY  "${CMAKE_CURRENT_SOURCE_DIR} " 
25+  COMMENT  "Generate IR codecs" 
26+ )
27+ 
1728set (HEADERS
1829 sbe/sbe.h
1930 otf/IrDecoder.h
                         You can’t perform that action at this time. 
           
                  
0 commit comments