[script] add install target for lib CMakefile
This commit is contained in:
parent
ab9d9650d4
commit
83600d2bdd
|
@ -32,3 +32,5 @@ foreach(testsourcefile ${EXEC_SOURCES})
|
|||
# Make sure the library is linked to each test executable
|
||||
target_link_libraries(${testname} libarchopenfpga)
|
||||
endforeach(testsourcefile ${EXEC_SOURCES})
|
||||
|
||||
install(TARGETS libarchopenfpga DESTINATION bin)
|
||||
|
|
|
@ -32,3 +32,5 @@ foreach(testsourcefile ${EXEC_SOURCES})
|
|||
# Make sure the library is linked to each test executable
|
||||
target_link_libraries(${testname} libbusgroup)
|
||||
endforeach(testsourcefile ${EXEC_SOURCES})
|
||||
|
||||
install(TARGETS libbusgroup DESTINATION bin)
|
||||
|
|
|
@ -32,3 +32,5 @@ foreach(testsourcefile ${EXEC_SOURCES})
|
|||
# Make sure the library is linked to each test executable
|
||||
target_link_libraries(${testname} libfabrickey)
|
||||
endforeach(testsourcefile ${EXEC_SOURCES})
|
||||
|
||||
install(TARGETS libfabrickey DESTINATION bin)
|
||||
|
|
|
@ -32,3 +32,5 @@ foreach(testsourcefile ${EXEC_SOURCES})
|
|||
# Make sure the library is linked to each test executable
|
||||
target_link_libraries(${testname} libfpgabitstream)
|
||||
endforeach(testsourcefile ${EXEC_SOURCES})
|
||||
|
||||
install(TARGETS libfpgabitstream DESTINATION bin)
|
||||
|
|
|
@ -11,3 +11,5 @@ add_library(libini STATIC
|
|||
|
||||
target_include_directories(libini PUBLIC ${LIB_INCLUDE_DIRS})
|
||||
set_target_properties(libini PROPERTIES PREFIX "" LINKER_LANGUAGE CXX)
|
||||
|
||||
install(TARGETS libini DESTINATION bin)
|
||||
|
|
|
@ -35,10 +35,4 @@ target_link_libraries(test_shell libopenfpgashell)
|
|||
add_executable(test_command_parser ${EXEC_TEST_CMD})
|
||||
target_link_libraries(test_command_parser libopenfpgashell)
|
||||
|
||||
#Supress IPO link warnings if IPO is enabled
|
||||
#get_target_property(READ_ARCH_USES_IPO read_arch_openfpga INTERPROCEDURAL_OPTIMIZATION)
|
||||
#if (READ_ARCH_USES_IPO)
|
||||
# set_target_properties(read_arch_openfpga PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS})
|
||||
#endif()
|
||||
|
||||
#install(TARGETS libarchopenfpga read_arch_openfpga DESTINATION bin)
|
||||
install(TARGETS libopenfpgashell DESTINATION bin)
|
||||
|
|
|
@ -81,14 +81,4 @@ target_link_libraries(libopenfpgautil
|
|||
libarchfpga
|
||||
libvtrutil)
|
||||
|
||||
#Create the test executable
|
||||
#add_executable(read_arch_openfpga ${EXEC_SOURCES})
|
||||
#target_link_libraries(read_arch_openfpga libarchopenfpga)
|
||||
|
||||
#Supress IPO link warnings if IPO is enabled
|
||||
#get_target_property(READ_ARCH_USES_IPO read_arch_openfpga INTERPROCEDURAL_OPTIMIZATION)
|
||||
#if (READ_ARCH_USES_IPO)
|
||||
# set_target_properties(read_arch_openfpga PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS})
|
||||
#endif()
|
||||
|
||||
#install(TARGETS libarchopenfpga read_arch_openfpga DESTINATION bin)
|
||||
install(TARGETS libopenfpgautil DESTINATION bin)
|
||||
|
|
|
@ -34,3 +34,5 @@ foreach(testsourcefile ${EXEC_SOURCES})
|
|||
# Make sure the library is linked to each test executable
|
||||
target_link_libraries(${testname} libpcf)
|
||||
endforeach(testsourcefile ${EXEC_SOURCES})
|
||||
|
||||
install(TARGETS libpcf DESTINATION bin)
|
||||
|
|
Loading…
Reference in New Issue