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

guth

  • Senior Community Member
  • Posts: 104
  • 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

  • Senior Community Member
  • Posts: 136
  • Hero Points: 6
  • Debian GNU/Linux user
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

  • Senior Community Member
  • Posts: 136
  • Hero Points: 6
  • Debian GNU/Linux user
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: 44
  • Hero Points: 2
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: 6823
  • Hero Points: 526
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: 44
  • Hero Points: 2
Re: Slickedit and cmake ?
« Reply #35 on: January 15, 2020, 05:28:22 PM »
Awesome - thanks!

patrickkox

  • Senior Community Member
  • Posts: 136
  • Hero Points: 6
  • Debian GNU/Linux user
Re: Slickedit and cmake ?
« Reply #36 on: November 21, 2021, 07:37:32 PM »
Clark,
With the recent release of Debian 11, is there a chance of getting a version 3.18.4 of CMake (that's the version that comes with Debian 11)?

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6823
  • Hero Points: 526
Re: Slickedit and cmake ?
« Reply #37 on: November 22, 2021, 03:15:34 PM »

patrickkox

  • Senior Community Member
  • Posts: 136
  • Hero Points: 6
  • Debian GNU/Linux user
Re: Slickedit and cmake ?
« Reply #38 on: November 23, 2021, 04:46:54 PM »
Thanks!