remote development in CLion with my makefile (remove make parameter that CLion added)

Answered

Hi

I need to implement full remote development in Clion.

as i read this page CLion version 2021 support full remote development.

here is my senario:

developer > linux server > svn

developer connect to the linux server through ssh connection and checkout source from svn on that server and commit then make.

I've config "toolchain" add "remote host" and successfully connected.

set "deployment" add "sftp" and successfully connected.

usually when I go to module directory on remote machine with putty and run "make clean;make" it will make successfully. but with Clion retun error that show on screenshot that attach to the issue. it seems clion add some extra parameter that cause the issue. is it possible it just run "make clean;make" without extra parameter.

FYI: when I run make with those parameters in shell it won't make. is there any way to remove those parameter?

I don't use cMake and have custom makefile, here is my makefile:

include  $(BASEDIR)/makeslm
BIN=$(APPBASEDIR)/bin
all:  thismodule
#$(LIBRARY) : $(LIBOBJS)
#	ar rv $@ $?
cleanbin :
	 rm -f  $(BIN)/thismodule
	thismodule : rep.o info.o myconfig.o 
		$(CXX) $(CXX_LDOPTIONS) rep.o info.o myconfig.o -o $@ $(CXXLIBS)
			cp  $@  $(BIN)
				rm -f $@

 

here is the related issue: remote development in CLion with my makefile (remove make parameter that CLion added) : CPP-27940 (jetbrains.com)

Any idea?

Thanks,

2 comments
Comment actions Permalink

Hello,

Thank you for contacting YouTrack community forums. We have forwarded your post to the CLion team, they will get back to you soon. In the future, please post CLion-related questions to the corresponding section: https://intellij-support.jetbrains.com/hc/en-us/community/topics/200363649-CLion. 

Have a nice day!

1

Please sign in to leave a comment.