class CKick::Executable
represents an executable target (in respect to CMake add_executable() command)
Public Instance Methods
cmake()
click to toggle source
CMakeLists content of the target
# File lib/ckick/executable.rb, line 13 def cmake res = [] res << "add_executable(#{@name} #{@source.join(' ')})" unless @libs.empty? res << "target_link_libraries(#{@name} #{@libs.join(' ')})" end res.join("\n") end