Skip to content

Commit

Permalink
Update example build scripts for windows.
Browse files Browse the repository at this point in the history
Signed-off-by: Rule Timothy (VM/EMT3) <[email protected]>
  • Loading branch information
timrulebosch committed Feb 15, 2024
1 parent 14c0898 commit 4fa3e20
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 8 deletions.
2 changes: 2 additions & 0 deletions dse/modelc/examples/binary/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ target_link_libraries(binary
install(TARGETS binary
LIBRARY DESTINATION
${MODEL_PATH}/lib
RUNTIME DESTINATION
${MODEL_PATH}/lib
COMPONENT
binary
)
Expand Down
4 changes: 2 additions & 2 deletions dse/modelc/examples/binary/model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ spec:
path: lib/libbinary.so
- os: windows
arch: x64
path: bin/binary.dll
path: lib/libbinary.dll
- os: windows
arch: x86
path: bin/binary.dll
path: lib/libbinary.dll
channels:
- alias: scalar
selectors:
Expand Down
2 changes: 2 additions & 0 deletions dse/modelc/examples/extended/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ target_link_libraries(extended
install(TARGETS extended
LIBRARY DESTINATION
${MODEL_PATH}/lib
RUNTIME DESTINATION
${MODEL_PATH}/lib
COMPONENT
extended
)
Expand Down
4 changes: 2 additions & 2 deletions dse/modelc/examples/extended/model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ spec:
path: lib/libextended.so
- os: windows
arch: x64
path: bin/extended.dll
path: lib/libextended.dll
- os: windows
arch: x86
path: bin/extended.dll
path: lib/libextended.dll
channels:
- alias: data
selectors:
Expand Down
2 changes: 2 additions & 0 deletions dse/modelc/examples/minimal/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ target_link_libraries(minimal
install(TARGETS minimal
LIBRARY DESTINATION
${MODEL_PATH}/lib
RUNTIME DESTINATION
${MODEL_PATH}/lib
COMPONENT
minimal
)
Expand Down
4 changes: 2 additions & 2 deletions dse/modelc/examples/minimal/model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ spec:
path: lib/libminimal.so
- os: windows
arch: x64
path: bin/minimal.dll
path: lib/libminimal.dll
- os: windows
arch: x86
path: bin/minimal.dll
path: lib/libminimal.dll
channels:
- alias: data
selectors:
Expand Down
2 changes: 2 additions & 0 deletions dse/modelc/examples/ncodec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ target_link_libraries(ncodec
install(TARGETS ncodec
LIBRARY DESTINATION
${MODEL_PATH}/lib
RUNTIME DESTINATION
${MODEL_PATH}/lib
COMPONENT
ncodec
)
Expand Down
4 changes: 2 additions & 2 deletions dse/modelc/examples/ncodec/model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ spec:
path: lib/libncodec.so
- os: windows
arch: x64
path: bin/ncodec.dll
path: lib/libncodec.dll
- os: windows
arch: x86
path: bin/ncodec.dll
path: lib/libncodec.dll
channels:
- alias: binary
selectors:
Expand Down

0 comments on commit 4fa3e20

Please sign in to comment.