removes unused code in cmake

This commit is contained in:
2025-04-15 14:33:03 +02:00
parent 8b3dc54e5c
commit bccfc67926
5 changed files with 3 additions and 180 deletions

View File

@ -12,8 +12,6 @@ endif()
set(ITERATIONS 50000) # 20000 for TGC
add_executable(${TARGET} dhry_1.c dhry_2.c dhry_stubs.c)
target_compile_options(${TARGET} PRIVATE -mcmodel=medany)
#target_compile_options(${TARGET} PRIVATE -mcmodel=medany -fPIC)
target_include_directories(${TARGET} PRIVATE ${CMAKE_CURRENT_LIST_DIR})
target_compile_options(${TARGET} PRIVATE -fno-inline -fno-builtin-printf -fno-common -Wno-implicit -funroll-loops -fpeel-loops -fgcse-sm -fgcse-las)
target_compile_definitions(${TARGET} PRIVATE ITERATIONS=${ITERATIONS} HZ=32768 TIME NO_INIT)