CodeLite project file generator doesn't generate entries for source files in object libraries
Issue tested with cmake 3.7 and cmake 3.9 under Debian, i686 architecture.
I'm not sure whether this is a bug, or intended.
If I generate CodeLite project files using cmake (both Unix Makefiles and Ninja are affected), source files in object libraries are not added to the project. Instead, the object files are added.
Example CMakeLists.txt:
cmake_minimum_required(VERSION 3.1.0)
project(ObjLibGen)
add_library(ObjLib OBJECT lib.c)
add_executable(exe main.c $<TARGET_OBJECTS:ObjLib>)
With a minimum lib.c:
void foo()
{
}
and main.c
int main()
{
return 0;
}
This leads to the appended project file being generated: ObjLibGen.project The workspace files just references the project file.