Commit 799cefc8 authored by Victor Yacovlev's avatar Victor Yacovlev

Merge branch 'master' of gitorious.org:kumir2/kumir2

parents e916d8de c3f6903c
......@@ -1079,6 +1079,9 @@ void MainWindow::makeNativeExecutable()
#ifndef Q_OS_WIN32
fileSuffix = "bin";
#endif
if (fileSuffix.startsWith(".")) {
fileSuffix.remove(0, 1);
}
if (!fileName.isEmpty() && fileName.endsWith(".kum")) {
fileName = fileName.mid(0, fileName.length()-4);
if (fileSuffix.length() > 0)
......
......@@ -23,6 +23,10 @@ add_definitions(${Llvm_DEFINITIONS})
include_directories(${Llvm_INCLUDE_DIR})
include(../../kumir2_plugin.cmake)
if(MSVC)
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
endif(MSVC)
set(DEP_LIBS
)
......
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