Question about `package` property in .def files, I...
# kotlin-native
n
Question about
package
property in .def files, I was playing around and seems that adding a package name to them, like
graphics.glfw.native
breaks in some way CLion, it stop recognising the library (so I cannot use autocomplete), but I can compile and execute wihtout any issues,
cglfw.def
example:
Copy code
package = graphics.glfw.native
headers = GLFW/glfw3.h
headerFilter = GLFW/*

compilerOpts.osx = -I/usr/include -I/usr/local/include
linkerOpts.osx = -L/usr/lib -L/usr/local/lib -lglfw
linkerOpts.linux = -L/usr/lib/x86_64-linux-gnu -lglfw
If I just delete the
package
property and build it, the autocomplete start working again, isn’t a big deal but I want to have all my code organized.