aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2020-10-22 16:02:39 +0800
committerLi Jin <dragon-fly@qq.com>2020-10-22 16:02:39 +0800
commita51a728d847e790329e41c75928a81630200b63f (patch)
tree8cc8e93a7863649499537366acecb41525022a57 /CMakeLists.txt
parentf6e603cc5bef133e5e368a81f677bea92bc405b5 (diff)
downloadyuescript-a51a728d847e790329e41c75928a81630200b63f.tar.gz
yuescript-a51a728d847e790329e41c75928a81630200b63f.tar.bz2
yuescript-a51a728d847e790329e41c75928a81630200b63f.zip
update Lua, fix cmakelists.txt.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc58572..d865000 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -33,4 +33,10 @@ add_library( moonp MODULE src/MoonP/ast.cpp src/MoonP/parser.cpp src/MoonP/moon_
33set_target_properties( moonp PROPERTIES PREFIX "") 33set_target_properties( moonp PROPERTIES PREFIX "")
34target_link_libraries( moonp ${LUA_LIBRARIES} ) 34target_link_libraries( moonp ${LUA_LIBRARIES} )
35 35
36install(CODE "") 36add_custom_command(TARGET moonp
37 POST_BUILD
38 COMMAND make release
39 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
40
41install(PROGRAMS bin/release/moonp DESTINATION bin)
42