File tree Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Expand file tree Collapse file tree 9 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ endforeach()
189
189
#Supress IPO link warnings if IPO is enabled
190
190
get_target_property (ODIN_USES_IPO odin_II INTERPROCEDURAL_OPTIMIZATION )
191
191
if (ODIN_USES_IPO )
192
- set_target_properties ( odin_II PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
192
+ set_property ( TARGET odin_II APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
193
193
endif ()
194
194
195
195
#add strict odin compiler flags, if set
Original file line number Diff line number Diff line change 59
59
#Supress IPO link warnings if IPO is enabled
60
60
get_target_property (TEST_BLIFEXPLORER_USES_IPO blifexplorer INTERPROCEDURAL_OPTIMIZATION )
61
61
if (TEST_BLIFEXPLORER_USES_IPO )
62
- set_target_properties ( blifexplorer PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
62
+ set_property ( TARGET blifexplorer APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
63
63
endif ()
64
64
65
65
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ if (USES_IPO)
57
57
CHECK_CXX_COMPILER_FLAG (${flag} CXX_COMPILER_SUPPORTS_${flag} )
58
58
if (CXX_COMPILER_SUPPORTS_${flag} )
59
59
#Flag supported, so enable it
60
- set_target_properties ( blifparse_test PROPERTIES LINK_FLAGS ${flag} )
60
+ set_property ( TARGET blifparse_test APPEND PROPERTY LINK_FLAGS ${flag} )
61
61
endif ()
62
62
endforeach ()
63
63
endif ()
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ if (USES_IPO)
61
61
CHECK_CXX_COMPILER_FLAG (${flag} CXX_COMPILER_SUPPORTS_${flag} )
62
62
if (CXX_COMPILER_SUPPORTS_${flag} )
63
63
#Flag supported, so enable it
64
- set_target_properties ( sdcparse_test PROPERTIES LINK_FLAGS ${flag} )
64
+ set_property ( TARGET sdcparse_test APPEND PROPERTY LINK_FLAGS ${flag} )
65
65
endif ()
66
66
endforeach ()
67
67
endif ()
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ target_link_libraries(read_arch libarchfpga)
30
30
#Supress IPO link warnings if IPO is enabled
31
31
get_target_property (READ_ARCH_USES_IPO read_arch INTERPROCEDURAL_OPTIMIZATION )
32
32
if (READ_ARCH_USES_IPO )
33
- set_target_properties ( read_arch PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
33
+ set_property ( TARGET read_arch APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
34
34
endif ()
35
35
36
36
install (TARGETS libarchfpga read_arch DESTINATION bin )
Original file line number Diff line number Diff line change @@ -728,7 +728,7 @@ class VNumber {
728
728
VNumber (VNumber other, size_t length) {
729
729
this ->sign = other.sign ;
730
730
this ->bitstring = other.bitstring .resize (other.get_padding_bit (), length);
731
- // TODO this->defined_size = true????? ;
731
+ this ->defined_size = other. defined_size ;
732
732
}
733
733
734
734
VNumber (const std::string& verilog_string) {
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ target_link_libraries(genfasm fasm)
30
30
#Supress IPO link warnings if IPO is enabled
31
31
get_target_property (GENFASM_USES_IPO genfasm INTERPROCEDURAL_OPTIMIZATION )
32
32
if (GENFASM_USES_IPO )
33
- set_target_properties ( genfasm PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
33
+ set_property ( TARGET genfasm APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
34
34
endif ()
35
35
36
36
#Specify link-time dependancies
@@ -52,7 +52,7 @@ target_link_libraries(test_fasm fasm libcatch)
52
52
#Supress IPO link warnings if IPO is enabled
53
53
get_target_property (TEST_FASM_USES_IPO test_fasm INTERPROCEDURAL_OPTIMIZATION )
54
54
if (TEST_FASM_USES_IPO )
55
- set_target_properties ( test_fasm PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
55
+ set_property ( TARGET test_fasm APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
56
56
endif ()
57
57
58
58
add_test (
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ target_link_libraries(route_diag
11
11
#Supress IPO link warnings if IPO is enabled
12
12
get_target_property (TEST_ROUTE_DIAG_USES_IPO route_diag INTERPROCEDURAL_OPTIMIZATION )
13
13
if (TEST_ROUTE_DIAG_USES_IPO )
14
- set_target_properties ( route_diag PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
14
+ set_property ( TARGET route_diag APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
15
15
endif ()
16
16
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ target_link_libraries(vpr libvpr)
135
135
#Supress IPO link warnings if IPO is enabled
136
136
get_target_property (VPR_USES_IPO vpr INTERPROCEDURAL_OPTIMIZATION )
137
137
if (VPR_USES_IPO )
138
- set_target_properties ( vpr PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
138
+ set_property ( TARGET vpr APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
139
139
endif ()
140
140
141
141
@@ -263,7 +263,7 @@ target_link_libraries(test_vpr
263
263
#Supress IPO link warnings if IPO is enabled
264
264
get_target_property (TEST_VPR_USES_IPO vpr INTERPROCEDURAL_OPTIMIZATION )
265
265
if (TEST_VPR_USES_IPO )
266
- set_target_properties ( test_vpr PROPERTIES LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
266
+ set_property ( TARGET test_vpr APPEND PROPERTY LINK_FLAGS ${IPO_LINK_WARN_SUPRESS_FLAGS} )
267
267
endif ()
268
268
269
269
add_test (NAME test_vpr
You can’t perform that action at this time.
0 commit comments