1f46fcec91aaed2211a349778d72cad241cac602
[WebKit-https.git] / Source / JavaScriptCore / PlatformGTK.cmake
1 configure_file(javascriptcoregtk.pc.in ${CMAKE_BINARY_DIR}/Source/JavaScriptCore/javascriptcoregtk-3.0.pc @ONLY)
2 configure_file(JavaScriptCore.gir.in ${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.gir @ONLY)
3
4 add_custom_command(
5     OUTPUT ${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.typelib
6     DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.gir
7     COMMAND g-ir-compiler ${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.gir -o ${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.typelib
8 )
9
10 ADD_TYPELIB(${CMAKE_BINARY_DIR}/JavaScriptCore-3.0.typelib)