User 2080 | 8/30/2015, 7:40:10 AM
hello everyone . When I learned Distributed Graph-Parallel API 2.2 documentation. It told me how to write first app(hello world) use Powergraph's API. I thougt I did exactly as the docs. First write CMakeLists.txt and myapp.cpp under subdirectory "Powergraph/apps/myapp" . Then I run "cmake ." command to get the Makefile. But I got an error. It seems like this:
CMake Error at CMakeLists.txt:3 (addgraphlabexecutable): Unknown CMake command "addgraphlabexecutable".
As API told me , "addgraphlabexecuteable" is a CMake macro that will compile a program called myapp using the CPP file myapp.cpp, and linking in all GraphLab libraries and dependencies. And I found that the macro "addgraphlabexecuteable" in "Powergraph/CMakeLists.txt". I think maybe I should include this file in my own CMakeLists.txt which is in "Powergraph/apps/myapp" . But I don't know how to realize this.
Is there any suggestions ? Regards