Hey i thought it would be great and help during developement/testing if the cmakelists allowed for building in debug mode
Here's my code changes, that allowed me to build in debug mode
CMakeLists.txt - lines 99-106
if(TARGET capstone)
if(MSVC)
target_compile_options(capstone PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/O2>")
else()
target_compile_options(capstone PRIVATE "$<$<NOT:$<CONFIG:Debug>>:-O3;-fomit-frame-pointer>")
endif()
target_compile_definitions(capstone PRIVATE "$<$<NOT:$<CONFIG:Debug>>:NDEBUG>")
endif()
lib/decode/CMakeLists.txt - line 16
target_compile_options(NeverDDecode PRIVATE "$<$<NOT:$<CONFIG:Debug>>:/O2>")
Also i saw your earlier message on a closed issue on mine, I appreciate your offer ;) but you don't have to pay me anything it's okay. I'm really interested in this tool , and i would love to help you push it forward !
Hey i thought it would be great and help during developement/testing if the cmakelists allowed for building in debug mode
Here's my code changes, that allowed me to build in debug mode
CMakeLists.txt - lines 99-106
lib/decode/CMakeLists.txt - line 16
Also i saw your earlier message on a closed issue on mine, I appreciate your offer ;) but you don't have to pay me anything it's okay. I'm really interested in this tool , and i would love to help you push it forward !