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:
/opt/homebrew/include - for boost. Make sure to brew install boost
Since I'm not compiling, and it's only for autocompletion, I just cloned the libaio source and added an include to it's source files
As for AWS C++ SDK, clone it follow their instructions to compile. Here's the configuration I used: cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="~/Developer/aws-sdk" -DBUILD_ONLY="s3;transfer" -DAUTORUN_UNIT_TESTS=OFF
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:
Explanation:
/opt/homebrew/include
- for boost. Make sure tobrew install boost
cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX="~/Developer/aws-sdk" -DBUILD_ONLY="s3;transfer" -DAUTORUN_UNIT_TESTS=OFF