makefile - Can I bypass requirement by CMAKE to provide separate compiler and linker while making module for custom Language? -


i trying make cmake module generating makefiles compile sbcl (steel bank common lisp) project.

there tool generate executable sbcl, called buildapp not seem involve compiling objects , linking them in executable generic c/c++ programs built.

here example makefile works building lisp program executable.

and here example of bare minimum example make similar task go language.

what seems last thing missing in "cmake lisp language module" implement piece of code in golang example (in cmakegoinformation.cmake):

if(not cmake_go_compile_object)   set(cmake_go_compile_object "go tool 6g -l -n -o <object> <source> ") endif() if(not cmake_go_link_executable)   set(cmake_go_link_executable "go tool 6l -o <target> <objects>  ") endif() 

example above not use 'go build' compile , link in 1 step other compiler / linker. in case don't think need separate compiler/linker steps , go simple step in example 1.

question - how can that? thank in advance.


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -