breuner / elbencho

A distributed storage benchmark for file systems, object stores & block devices with support for GPUs
GNU General Public License v3.0
162 stars 24 forks source link

Modified Makefile for CLion integration #49

Closed shustinm closed 4 months ago

shustinm commented 4 months ago

Closing this because this PR is not needed, It's not necessary to change the Makefile to accomodate CLion support on mac. The Makefile already has a CXXFLAGS_EXTRA parameter to cover for all needed additions.

For me, CLion worked best out of all IDEs that I tried, I configured this project as a "Makefile project" in CLion, and here are the parameters I use in the configuration in CLion Settings -> Build, Execution, Deployment -> Makefile -> Arguments:

CXXFLAGS_EXTRA="-I /opt/homebrew/include -I $PATH-TO-LIBAIO-ROOT/src" 
S3_SUPPORT=1 
AWS_INCLUDE_DIR=$PATH-TO-COMPILED-AWS-SDK/include 
AWS_LIB_DIR=$PATH-TO-COMPILED-AWS-SDK/lib

Explanation: