Mercurial > code
comparison CMakeLists.txt @ 391:e2cefd0ee511
Add Js, Duktape wrapper
author | David Demelier <markand@malikania.fr> |
---|---|
date | Mon, 28 Sep 2015 13:18:14 +0200 |
parents | 9fd636045546 |
children | d5ec1174b707 |
comparison
equal
deleted
inserted
replaced
390:d7e6d7d1e102 | 391:e2cefd0ee511 |
---|---|
222 | 222 |
223 if (WITH_DYNLIB) | 223 if (WITH_DYNLIB) |
224 if (CMAKE_SYSTEM_NAME MATCHES "Linux") | 224 if (CMAKE_SYSTEM_NAME MATCHES "Linux") |
225 target_link_libraries(dynlib dl) | 225 target_link_libraries(dynlib dl) |
226 endif () | 226 endif () |
227 | 227 |
228 target_compile_definitions(dynlib PRIVATE EXTENSION=\"${EXTENSION}\") | 228 target_compile_definitions(dynlib PRIVATE EXTENSION=\"${EXTENSION}\") |
229 | 229 |
230 add_library(dynlib-plugin MODULE ${code_SOURCE_DIR}/C++/tests/Dynlib/Plugin.cpp) | 230 add_library(dynlib-plugin MODULE ${code_SOURCE_DIR}/C++/tests/Dynlib/Plugin.cpp) |
231 set_target_properties(dynlib-plugin PROPERTIES PREFIX "") | 231 set_target_properties(dynlib-plugin PROPERTIES PREFIX "") |
232 target_include_directories(dynlib-plugin PRIVATE ${code_SOURCE_DIR}/C++/modules/Dynlib) | 232 target_include_directories(dynlib-plugin PRIVATE ${code_SOURCE_DIR}/C++/modules/Dynlib) |
233 endif () | 233 endif () |
234 | 234 |
297 ${code_SOURCE_DIR}/C++/tests/Ini/configs/includes.conf | 297 ${code_SOURCE_DIR}/C++/tests/Ini/configs/includes.conf |
298 ${code_SOURCE_DIR}/C++/tests/Ini/configs/multi.conf | 298 ${code_SOURCE_DIR}/C++/tests/Ini/configs/multi.conf |
299 ${code_SOURCE_DIR}/C++/tests/Ini/configs/novalue.conf | 299 ${code_SOURCE_DIR}/C++/tests/Ini/configs/novalue.conf |
300 ${code_SOURCE_DIR}/C++/tests/Ini/configs/simple.conf | 300 ${code_SOURCE_DIR}/C++/tests/Ini/configs/simple.conf |
301 ${code_SOURCE_DIR}/C++/tests/Ini/configs/tokens.conf | 301 ${code_SOURCE_DIR}/C++/tests/Ini/configs/tokens.conf |
302 ) | |
303 | |
304 # --------------------------------------------------------- | |
305 # Js (Duktape) | |
306 # --------------------------------------------------------- | |
307 | |
308 define_module( | |
309 TARGET js | |
310 NAME Js | |
311 DIRECTORY Js | |
312 LIBRARIES duktape | |
313 SOURCES | |
314 ${code_SOURCE_DIR}/C++/modules/Js/Js.cpp | |
315 ${code_SOURCE_DIR}/C++/modules/Js/Js.h | |
302 ) | 316 ) |
303 | 317 |
304 # --------------------------------------------------------- | 318 # --------------------------------------------------------- |
305 # Json | 319 # Json |
306 # --------------------------------------------------------- | 320 # --------------------------------------------------------- |