I tried to create a build solution for my sourcecode and I am getting those errors:
Here is that CMAKE file: http://pastebin.com/B46KTWyr
CMake Error at src/server/logonserver/CMakeLists.txt:103 (add_executable):
add_executable called with incorrect number of arguments
CMake Error at src/server/logonserver/CMakeLists.txt:108 (add_dependencies):
Cannot add target-level dependencies to non-existent target "logonserver".
The add_dependencies works for top-level logical targets created by the
add_executable, add_library, or add_custom_target commands. If you want to
add file-level dependencies see the DEPENDS option of the add_custom_target
and add_custom_command commands.
CMake Error at src/server/logonserver/CMakeLists.txt:116 (target_link_libraries):
Cannot specify link libraries for target "logonserver" which is not built
by this project.