labview 配置相对路径
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
/.idea
|
/.idea
|
||||||
|
/labview/*.dll
|
||||||
@@ -29,3 +29,12 @@ endif()
|
|||||||
add_executable(lv_cpp_demo_test test/main.cpp)
|
add_executable(lv_cpp_demo_test test/main.cpp)
|
||||||
target_link_libraries(lv_cpp_demo_test PRIVATE lv_cpp_demo)
|
target_link_libraries(lv_cpp_demo_test PRIVATE lv_cpp_demo)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
set(labview_dir "${CMAKE_CURRENT_SOURCE_DIR}/labview")
|
||||||
|
add_custom_command(TARGET lv_cpp_demo POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E make_directory "${labview_dir}"
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:lv_cpp_demo>" "${labview_dir}/$<TARGET_FILE_NAME:lv_cpp_demo>"
|
||||||
|
VERBATIM
|
||||||
|
)
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -13,6 +13,7 @@
|
|||||||
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
|
<Property Name="server.vi.propertiesEnabled" Type="Bool">true</Property>
|
||||||
<Property Name="specify.custom.address" Type="Bool">false</Property>
|
<Property Name="specify.custom.address" Type="Bool">false</Property>
|
||||||
<Item Name="add.vi" Type="VI" URL="../add.vi"/>
|
<Item Name="add.vi" Type="VI" URL="../add.vi"/>
|
||||||
|
<Item Name="控件 1.ctl" Type="VI" URL="../控件 1.ctl"/>
|
||||||
<Item Name="依赖关系" Type="Dependencies"/>
|
<Item Name="依赖关系" Type="Dependencies"/>
|
||||||
<Item Name="程序生成规范" Type="Build"/>
|
<Item Name="程序生成规范" Type="Build"/>
|
||||||
</Item>
|
</Item>
|
||||||
|
|||||||
Reference in New Issue
Block a user