[Webkit-unassigned] [Bug 37945] CMake buildsystem

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 12 11:20:45 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=37945





--- Comment #13 from Patrick R. Gansterer <paroga at paroga.com>  2010-05-12 11:20:44 PST ---
Is there a reason for declaring the library names?
Why you use "${JavaScriptCore_LIBRARY_NAME}" instead of "JavaScriptCore" only?

> +SET(WebCore_PORT_FLAGS )
> +
> +FOREACH (_flag ${WebCore_PORT_FLAGS})
> +    ADD_TARGET_FLAGS(${WebCore_LIBRARY_NAME} ${_flag})
> +ENDFOREACH()
and
> +LIST (APPEND WebCore_PORT_FLAGS
> +    CAIRO
> +    ECORE_X
> ...
> +    PANGO
> +    SQLITE3
> +)
You have to dedect your libraries with a FindXXX.cmake first!
For SQLite you need to do:
1) Insert "FIND_PACKAGE(Sqlite REQUIRED)" into OptionsEfl.cmake.
2) Add a "LIST(APPEND WebCore_LIBRARIES ${SQLITE_LIBRARIES})" in your CMakeListsEfl

This must be done for all the other system and 3rdparty libs too!!
See http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries

Then you can remove all your ADD_TARGET_FLAGS calls.

The missing FindXXX.cmake is a r-!

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list