Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » [PROPOSAL] A couple of changes in "import.ext"
Re: [PROPOSAL] A couple of changes in "import.ext" [message #56982 is a reply to message #56980] Thu, 06 May 2021 16:02 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Hi,

here the complete patch.
Tested (quickly) on Linux, so no MSC builder, I'll do it if it's all ok.

'import.ext' now accepts flags:
files(POSIX & !SOMETHING) some/path/*.cpp


allows relative paths (from current package) and absolute paths (useless, but anyways):
files(POSIX & !SOMETHING) ../myoriginallib/some/path/*.cpp
files /home/massimo/some/path/*.c


and finally allows duplicate file names in different paths and in c/c++/cxx files:
files some/path/version.cpp
files another/path/version.cpp
files another/path/version.c


object files are put in output directory with names prepended with original paths and with source extension before .o :
some/path/test.cpp --> outdir/package_full_path_some_path_test.cpp.o


Patch is attached. Please tell if it's ok and if I shall do the same for MSC too.


  • Attachment: ide.patch
    (Size: 7.33KB, Downloaded 99 times)

[Updated on: Thu, 06 May 2021 16:04]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Import external library - Include files depending on OS
Next Topic: [BUG] Preprocess + pkg-config
Goto Forum:
  


Current Time: Sun May 12 09:57:09 CEST 2024

Total time taken to generate the page: 0.02755 seconds