diff --git a/libs/libarchopenfpga/CMakeLists.txt b/libs/libarchopenfpga/CMakeLists.txt index 79484df39..93c20710d 100644 --- a/libs/libarchopenfpga/CMakeLists.txt +++ b/libs/libarchopenfpga/CMakeLists.txt @@ -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) diff --git a/libs/libbusgroup/CMakeLists.txt b/libs/libbusgroup/CMakeLists.txt index 752b429cb..a6b83dd26 100644 --- a/libs/libbusgroup/CMakeLists.txt +++ b/libs/libbusgroup/CMakeLists.txt @@ -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) diff --git a/libs/libfabrickey/CMakeLists.txt b/libs/libfabrickey/CMakeLists.txt index 72eff0bf5..2dffe8fd5 100644 --- a/libs/libfabrickey/CMakeLists.txt +++ b/libs/libfabrickey/CMakeLists.txt @@ -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) diff --git a/libs/libfpgabitstream/CMakeLists.txt b/libs/libfpgabitstream/CMakeLists.txt index fc71a113d..a1fb6522d 100644 --- a/libs/libfpgabitstream/CMakeLists.txt +++ b/libs/libfpgabitstream/CMakeLists.txt @@ -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) diff --git a/libs/libini/CMakeLists.txt b/libs/libini/CMakeLists.txt index c09ff863b..b2cca5ba7 100644 --- a/libs/libini/CMakeLists.txt +++ b/libs/libini/CMakeLists.txt @@ -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) diff --git a/libs/libopenfpgashell/CMakeLists.txt b/libs/libopenfpgashell/CMakeLists.txt index 3f24c0a21..bf48def2d 100644 --- a/libs/libopenfpgashell/CMakeLists.txt +++ b/libs/libopenfpgashell/CMakeLists.txt @@ -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) diff --git a/libs/libopenfpgautil/CMakeLists.txt b/libs/libopenfpgautil/CMakeLists.txt index c259ff6cb..f426afa24 100644 --- a/libs/libopenfpgautil/CMakeLists.txt +++ b/libs/libopenfpgautil/CMakeLists.txt @@ -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) diff --git a/libs/libpcf/CMakeLists.txt b/libs/libpcf/CMakeLists.txt index 0262b3a82..5344a90cc 100644 --- a/libs/libpcf/CMakeLists.txt +++ b/libs/libpcf/CMakeLists.txt @@ -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)