File tree 4 files changed +9
-1
lines changed
4 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 20
20
- name : Build
21
21
working_directory : build
22
22
run : cmake --build . --config ${{matrix.mode}} --parallel
23
+ - name : Install
24
+ working_directory : build
25
+ run : cmake --install . --config ${{matrix.mode}} --prefix ${{runner.temp}}/install
23
26
- name : Run tests
24
- run : build/tests/${{matrix.config}}/test.exe
27
+ working-directory : ${{runner.temp}}/install
28
+ run : test.exe
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ function(add_cppremapper_executable TARGET)
26
26
"$<TARGET_RUNTIME_DLLS:${TARGET} >"
27
27
"$<TARGET_FILE_DIR:${TARGET} >"
28
28
)
29
+ install (TARGETS "${TARGET} " )
29
30
endfunction ()
30
31
31
32
add_subdirectory (third-party)
Original file line number Diff line number Diff line change @@ -47,3 +47,4 @@ target_include_directories(
47
47
PUBLIC
48
48
"${CMAKE_CURRENT_SOURCE_DIR} "
49
49
)
50
+ install (TARGETS LibCppRemapper)
Original file line number Diff line number Diff line change @@ -32,3 +32,5 @@ target_include_directories(
32
32
INTERFACE
33
33
"${fcvjoysdk_SOURCE_DIR} /inc"
34
34
)
35
+
36
+ install (IMPORTED_RUNTIME_ARTIFACTS ThirdParty-VJoy)
You can’t perform that action at this time.
0 commit comments