Home » Developing U++ » UppHub » Building TheIDE with using CMake
Re: Building TheIDE with using CMake [message #34463 is a reply to message #32310] |
Wed, 23 November 2011 15:23 |
Sender Ghost
Messages: 301 Registered: November 2008
|
Senior Member |
|
|
In this message I will explain possible reason why renaming of *.icpp files was needed.
According to ""init" files in packages" topic, it is possible to use init file inside particular package to resolve *.icpp files dependencies. But practically, they are useful for command-line builds only. Mainly, because of lack of *.cpp file extension (e.g. init.cpp), which prevents using it inside another IDEs.
I made CMake scripts for three cases to demonstrate this problem:
1. Using init file of package directly by setting source properties as for CXX compiler and linker.
2. Using init.cpp file inside current package as an copy of init file. Including init.cpp file to source files to compile.
3. Using init.cpp file inside package binary directory with #include path to package init file. Including init.cpp file to source files to compile.
The CMakeLists.txt and build script files for mentioned cases you could find in the attachment.
To use, just create a backup of uppsrc directory (in case of testing) and copy files from particular case directory. Renaming of *.icpp files not needed.
To note:
The 2 and 3 cases are workable solutions for IDEs and command-line builds.
Edit: Fixed URL link.
[Updated on: Fri, 13 February 2015 19:02] Report message to a moderator
|
|
|
|
|
Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Building umk with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Fri, 13 February 2015 13:16
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Fri, 13 February 2015 18:26
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Fri, 13 February 2015 18:34
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Fri, 13 February 2015 18:55
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Fri, 13 February 2015 19:30
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: cyrion on Sat, 14 February 2015 01:05
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Thu, 26 May 2016 08:16
|
|
|
Re: Building TheIDE with using CMake
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Fri, 15 July 2016 20:55
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Thu, 25 August 2016 12:44
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Mon, 29 August 2016 12:31
|
|
|
Re: Building TheIDE with using CMake
By: Klugier on Thu, 01 February 2018 23:03
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Fri, 02 February 2018 07:09
|
|
|
Re: Building TheIDE with using CMake
By: coolman on Thu, 30 July 2020 12:05
|
Goto Forum:
Current Time: Sat May 11 22:42:09 CEST 2024
Total time taken to generate the page: 0.02698 seconds
|