Skip to content

Information and scripts to make developing radare2 with CLion easier

License

Notifications You must be signed in to change notification settings

STKFLT/radare2-clion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

radare2-clion

Information and scripts to make developing radare2 with CLion easier

This project does NOT let you build r2 with CLion or CMake

It includes just enough to get CLion's fancy features working (Go to Definition, refactor/rename, etc.)

Usage

To use, just drop CMakeLists.txt into Radare2's root directory and open radare2 as a project in CLion

If you want to debug with CLion, just build radare2 with ./sys/build.sh CFLAGS='-g' and then add binr/radare2/radare2 as an debug configuration.

It is possible that the list of directories containing header files in CMakeLists.txt is out of date. If so, just run

for file in $(find . -name '*.h'); do dirname $file; done | sort | uniq

then paste the output into include_directories().

Lastly, I apologize to anyone who actually knows how CMake works that had to look at this.

About

Information and scripts to make developing radare2 with CLion easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages