2010-07-30 Rafael Antognolli <antognolli@profusion.mobi>
[WebKit-https.git] / JavaScriptCore / jsc / CMakeLists.txt
1 SET(JSC_HEADERS
2 )
3
4 SET(JSC_SOURCES
5     ../jsc.cpp
6 )
7
8 SET(JSC_LIBRARIES
9     ${JavaScriptCore_LIBRARY_NAME}
10 )
11
12 INCLUDE_IF_EXISTS(${JAVASCRIPTCORE_DIR}/jsc/CMakeLists${PORT}.txt)
13
14 WEBKIT_WRAP_SOURCELIST(${JSC_SOURCES})
15 INCLUDE_DIRECTORIES(./ ${JavaScriptCore_INCLUDE_DIRECTORIES})
16 ADD_EXECUTABLE(${JSC_EXECUTABLE_NAME} ${JSC_HEADERS} ${JSC_SOURCES})
17 TARGET_LINK_LIBRARIES(${JSC_EXECUTABLE_NAME} ${JSC_LIBRARIES})
18 ADD_TARGET_PROPERTIES(${JSC_EXECUTABLE_NAME} LINK_FLAGS ${JSC_LINK_FLAGS})
19 SET_TARGET_PROPERTIES(${JSC_EXECUTABLE_NAME} PROPERTIES VERSION ${PROJECT_VERSION})