Skip to content

Commit

Permalink
Cmake再び
Browse files Browse the repository at this point in the history
  • Loading branch information
raccy committed Nov 4, 2016
1 parent 13204ef commit b73a8c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/win/make_build.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ call :check_exist "%OBS_SRC%" "Not found obs-studio sourcs. Please install obs-s
call :check_exist "%CURL_SRC%" "Not found curl sourcs. Please install curl soruces or change CURL_SRC"
call :check_exist "%CMAKE_EXE%" "Not found cmake. Please install cmake or change CMAKE_DIR"

cmake > NUL 2>&1
"%CMAKE_EXE%" > NUL 2>&1
if errorlevel 1 call :die "Failed check CMake. Please install CMake ant set PATH"

echo Check all ok, and will create build environments.
Expand Down Expand Up @@ -73,12 +73,12 @@ rem libcurl.dll
"%LIB_EXE%" /MACHINE:x64 /def:"build\lib64\libcurl.def" /out:"build\lib64\libcurl.lib"

rem TODO
echo cmake -G"Visual Studio 14 2015" -DCMAKE_PREFIX_PATH="%QT32_CMAKE:\=/%" -DOBS_SRC="%OBS_SRC:\=/%" -DOBS_APP="%OBS_APP:\=/%" -DcurlPath="%CURL_SRC:\=/%" -D_CURL_LIBRARY_DIRS=./build .. > build32\run_cmake.cmd
echo "%CMAKE_EXE%" -G"Visual Studio 14 2015" -DCMAKE_PREFIX_PATH="%QT32_CMAKE:\=/%" -DOBS_SRC="%OBS_SRC:\=/%" -DOBS_APP="%OBS_APP:\=/%" -DcurlPath="%CURL_SRC:\=/%" -D_CURL_LIBRARY_DIRS=./build .. > build32\run_cmake.cmd
echo @echo ##### CMake done. Please open rtmp-nicolive.sln ##### >> build32\run_cmake.cmd
echo @echo You MUST change Debug to Release before build! >> build32\run_cmake.cmd
echo pause >> build32\run_cmake.cmd

echo cmake -G"Visual Studio 14 2015 Win64" -DCMAKE_PREFIX_PATH="%QT64_CMAKE:\=/%" -DOBS_SRC="%OBS_SRC:\=/%" -DOBS_APP="%OBS_APP:\=/%" -DcurlPath="%CURL_SRC:\=/%" -D_CURL_LIBRARY_DIRS=./build .. > build64\run_cmake.cmd
echo "%CMAKE_EXE%" -G"Visual Studio 14 2015 Win64" -DCMAKE_PREFIX_PATH="%QT64_CMAKE:\=/%" -DOBS_SRC="%OBS_SRC:\=/%" -DOBS_APP="%OBS_APP:\=/%" -DcurlPath="%CURL_SRC:\=/%" -D_CURL_LIBRARY_DIRS=./build .. > build64\run_cmake.cmd
echo @echo ##### CMake done. Please open rtmp-nicolive.sln ##### >> build64\run_cmake.cmd
echo @echo You MUST change Debug to Release before build! >> build64\run_cmake.cmd
echo pause >> build64\run_cmake.cmd
Expand Down

0 comments on commit b73a8c6

Please sign in to comment.