Author Topic: Slickedit and cmake ?  (Read 11835 times)

guth

  • Senior Community Member
  • Posts: 101
  • Hero Points: 7
Re: Slickedit and cmake ?
« Reply #30 on: December 12, 2019, 08:03:59 pm »
I got that as well, but downloading the source provided by slickedit and building cmake myself solved that issue.

patrickkox

  • Community Member
  • Posts: 34
  • Hero Points: 1
Re: Slickedit and cmake ?
« Reply #31 on: December 12, 2019, 08:07:29 pm »
I got that as well, but downloading the source provided by slickedit and building cmake myself solved that issue.
I'm actually doing the same now (started when I was posting my reply), but if it doesn't work with SlickEdit 2019 it doesn't really matter.

patrickkox

  • Community Member
  • Posts: 34
  • Hero Points: 1
Re: Slickedit and cmake ?
« Reply #32 on: December 13, 2019, 01:34:07 pm »
I've just compiled the version 3.8 of the SlickEdit cmake sources posted here and it seems to work with SlickEdit 2019.So what did I do :
  • Download the Linux sources for the Project Generator (https://support.slickedit.com/outbound/cmake/cmake-3.8.0/cmake-3.8.0_src.zip).
  • Extracted into a temp directory, entered that directory, made bootstrap executable, made a directory called build and ran bootstrap from that directory.
  • ran "$ make" and after that "$ make install".
  • Created a simple "Hello World" program (just one main.cpp file).
  • Made a CMakeLists.txt file with the basic information for the build and put it in a directory called "MakeFiles".
  • Ran the Project generator (cmake -G SlickEdit - Unix Makefiles).
  • Got an error and installed the ninja-build tool ($ sudo apt install ninja-build).
  • re-ran the cmake command.
this made 1 SlickEdit Workspace called "Hello" and 2 Projects
  • BUILD_ALL
  • Hello
So for the little I've tested the project generator seems to work well with SlickEdit 2019 on Debian Buster, but I didn't see an "execute" option to start the compiled program after the build (as is with a "normal" C++ project when started from within SlickEdit) so if this could be added that would be nice. Or better yet, full CMake integration  ;)
Hope this helps anyone.
« Last Edit: December 14, 2019, 01:09:28 pm by patrickkox »

JeppeOland

  • Community Member
  • Posts: 12
  • Hero Points: 1
Re: Slickedit and cmake ?
« Reply #33 on: January 14, 2020, 01:16:25 am »
Did anybody (SlickEdit guys?) port up to recent versions of CMake?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 5145
  • Hero Points: 425
Re: Slickedit and cmake ?
« Reply #34 on: January 14, 2020, 02:46:18 pm »
Version 3.14.5 is here:

https://support.slickedit.com/outbound/CMake/cmake-3.14.5/cmake-3.14.5_src.zip
https://support.slickedit.com/outbound/CMake/cmake-3.14.5/cmake-3.14.5_src.tar.gz
https://support.slickedit.com/outbound/CMake/cmake-3.14.5/cmake-3.14.5-win64-x64.zip
https://support.slickedit.com/outbound/CMake/cmake-3.14.5/cmake-3.14.5-Linux-x86_64.tar.gz
https://support.slickedit.com/outbound/CMake/cmake-3.14.5/cmake-3.14.5-Darwin-x86_64.tar.gz

Note that the Linux version of cmake version 3.14.5 would not build on our standard Linux build machine. This means it's much more likely it won't run on your version of Linux and that you will have to build it.

We will look into updating this to 3.16.2 which is the latest version.
« Last Edit: January 14, 2020, 02:48:37 pm by Clark »

JeppeOland

  • Community Member
  • Posts: 12
  • Hero Points: 1
Re: Slickedit and cmake ?
« Reply #35 on: January 15, 2020, 05:28:22 pm »
Awesome - thanks!