[platform] static dependencies for breakgen

This commit is contained in:
Roman Shevchenko
2016-10-31 18:03:52 +01:00
parent b35cfe7e98
commit 72c511114d
2 changed files with 3 additions and 2 deletions
+2
View File
@@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.1.0)
project(breakgen)
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /MT")
add_library(breakgen SHARED AppMain.c)
if (CMAKE_GENERATOR_PLATFORM STREQUAL "x64")
+1 -2
View File
@@ -5,8 +5,7 @@ SET PLATFORM=%2
SET CMAKE=%CMAKE_PATH%\bin\cmake
IF EXIST "%BUILD_DIR%" RMDIR /S /Q "%BUILD_DIR%"
MKDIR "%BUILD_DIR%"
CD "%BUILD_DIR%"
MKDIR "%BUILD_DIR%" & CD "%BUILD_DIR%"
"%CMAKE%" -G "Visual Studio 12 2013" -T v120_xp -A "%PLATFORM%" ..
IF ERRORLEVEL 1 EXIT 1