Commit 4e1a021c authored by Victor Yacovlev's avatar Victor Yacovlev

Build both in MSVC and *nix

parent 016c8902
......@@ -43,8 +43,8 @@ kumir2_add_plugin(
# Generate messages file
file(MAKE_DIRECTORY "${CMAKE_BINARY_DIR}/${KUMIR2_RESOURCES_DIR}/kumiranalizer")
add_custom_command(
TARGET KumirAnalizer_messages POST_BUILD
COMMAND ${PYTHON_EXECUTABLE}
TARGET KumirAnalizer POST_BUILD
COMMAND ${PYTHON_EXECUTABLE}
"${CMAKE_SOURCE_DIR}/src/kumir2-libs/errormessages/scanmessages.py"
"--db=${CMAKE_SOURCE_DIR}/share/kumir2/kumiranalizer/messages.csv"
"--out=${CMAKE_BINARY_DIR}/${KUMIR2_RESOURCES_DIR}/kumiranalizer/messages.csv"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment