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"
[PROPOSAL] A couple of changes in "import.ext" [message #56920] Fri, 30 April 2021 14:02 Go to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Importing a large library with "import.ext" I got a couple of probmems:

1) Some files need to be excluded / included depending on platform.
A nice way would be something like
files(PLATFORM_POSIX)
    files.cpp
    dir1/*.cpp
;
exclude(PLATFORM_WIN32)
    an_unix_file.cpp
;


2) A big problem is that object files are put ALL in ONE folder. If the library
has something like this:
    dir1/MyNiceModule.cpp
    dir2/MyNiceModule.cpp

build will fail because second MyNiceModule.o is placed in same output folder and overwrites first one.
The solution could be to put .o files in subfolder or add a prefix like dir1_MyNiceModule.o.

Ciao

Massimo
 
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 Apr 28 00:47:07 CEST 2024

Total time taken to generate the page: 0.07414 seconds