Skip to content

Commit

Permalink
Merge pull request #8 from ROCm-Developer-Tools/msearles/binaryName
Browse files Browse the repository at this point in the history
Change binary names to hipcc.bin, hipconfig.bin
  • Loading branch information
aakanksha555 committed Jan 5, 2022
2 parents d568a96 + e52a225 commit 507c074
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions amd/hipcc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
cmake_minimum_required(VERSION 3.16.3)
project (hipcc)
project (hipcc.bin)

# specify the C++ standard
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)

set ( LINK_LIBS libstdc++fs.so)
add_executable(hipcc src/hipBin.cpp)
if (NOT WIN32) #c++17 does not require the std lib linking
target_link_libraries(hipcc ${LINK_LIBS} ) # for hipcc
set (LINK_LIBS libstdc++fs.so)
add_executable(hipcc.bin src/hipBin.cpp)
if (NOT WIN32) # c++17 does not require the std lib linking
target_link_libraries(hipcc.bin ${LINK_LIBS} ) # for hipcc.bin
endif()

project (hipconfig)
add_executable(hipconfig src/hipBin.cpp)
if (NOT WIN32) #c++17 does not require the std lib linking
target_link_libraries(hipconfig ${LINK_LIBS} ) # for hipconfig
project (hipconfig.bin)
add_executable(hipconfig.bin src/hipBin.cpp)
if (NOT WIN32) # c++17 does not require the std lib linking
target_link_libraries(hipconfig.bin ${LINK_LIBS} ) # for hipconfig.bin
endif()

set(HIP_VERSION_MAJOR 4 PARENT_SCOPE)
Expand Down

0 comments on commit 507c074

Please sign in to comment.