Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuhammedrafi committed Sep 24, 2024
1 parent 0e70e74 commit 15688f1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cmake/UnitTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@ set(FAKE_HEADERS
)

foreach (file ${FAKE_HEADERS})
message("toucing files ")
message("including file: ${file}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include ${file}")
endforeach ()

add_link_options(-Wl,-wrap,system -Wl,-wrap,popen -Wl,-wrap,syslog -Wl,-wrap,pclose -Wl,-wrap,getmntent -Wl,-wrap,setmntent -Wl,-wrap,v_secure_popen -Wl,-wrap,v_secure_pclose -Wl,-wrap,v_secure_system)

message("Setting build options")
set(CMAKE_DISABLE_FIND_PACKAGE_IARMBus ON)
add_link_options(-Wl,-wrap,system -Wl,-wrap,popen -Wl,-wrap,syslog -Wl,-wrap,pclose -Wl,-wrap,getmntent -Wl,-wrap,setmntent -Wl,-wrap,v_secure_popen -Wl,-wrap,v_secure_pclose -Wl,-wrap,v_secure_system)

0 comments on commit 15688f1

Please sign in to comment.