### Al.Cash's blog

By Al.Cash, 4 years ago,

Let me introduce the competitive programming tool that's aimed to help you get AC more easily: ACHelper, wiki

I tried to take the best elements from Hightail, CHelper and Caide, and add project generation using CMake on top of that.

The tool itself is cross-platform and should work with any programming language and IDE that is supported by CMake (or other project generator). However, templates only for C++ for Mac (that should work for Linux as well) are implemented at the moment. Any help on Windows support is highly appreciated, more details on that here.

A screenshot of ACHelper with my AppCode IDE after the testing.

Let me know what you think.

• +76

 » 4 years ago, # |   +22 This is awesome! If you have the time it would be great if you could make a screencast of you using it in a contest, as for CHelper with Egor / Petr it really helped me understand the best workflow.
 » 4 years ago, # |   0 what am i doing wrong?
•  » » 4 years ago, # ^ |   +14 As you can see, there's no Xcode on the list. Looks like you're using Linux, so that makes perfect sense. Replace Xcode with one of the generators listed such that you have that IDE.
•  » » » 4 years ago, # ^ | ← Rev. 2 →   0 i am unable to find full path to CMake executable in Fedora. Can anybody help?
•  » » » » 4 years ago, # ^ |   +4 mkdir error is fine, since the directory already exists.CMakeLists.txt should be created in the contest root directory by ACHelper. Parse some problems and check that it's there.There should be no need to run the script by hand, if it's set correctly in the last line of ACHelper.xml. But if you'd like to do that, run it from the contest root, i.e. scripts/unix/project.sh.
•  » » » » 4 years ago, # ^ | ← Rev. 2 →   +1 try which cmake or type -a cmake
•  » » » » » 4 years ago, # ^ |   0 It parsed the test cases! But i am still not able to understand how to run testcases!
•  » » » » » » 4 years ago, # ^ | ← Rev. 2 →   0 If CMake ran successfully, open a project that was generated inside Project directory with the IDE you specified. Then run the problem target in Release or RelWithDebInfo mode (just make sure is't the same as the one you set in CMakeScripts.txt — item 3 in the instruction).
•  » » » » » » » 4 years ago, # ^ |   0 I opened a project that was generated inside the project directory with Codeblocks. Now, i don't know how to run the problem target in Release or RelWithDebInfo mode!sorry for being so dumb and bugging you again nd again!
•  » » » » » » » » 4 years ago, # ^ |   0 Well, this depends only on IDE, and I didn't use Codeblocks. You should be able to select the target and configure it somewhere in the interface. Maybe the IDE didn't create the run configuration automatically.
•  » » » » » 4 years ago, # ^ |   +6 poikniok is right, a screencast will be very helpful !