Browse Source

Add Windows build script

master
Jake Wakeling 2 years ago
parent
commit
598258d168
  1. 4
      BuildWindows.bat
  2. 2
      CMakeLists.txt

4
BuildWindows.bat

@ -0,0 +1,4 @@
cmake -S "%~dp0\" -B "%~dp0\build" ^
-DCMAKE_BUILD_TYPE:STRING=Release
cmake --build "%~dp0\build"

2
CMakeLists.txt

@ -4,6 +4,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.12)
PROJECT(OBFI VERSION 1.0.3 LANGUAGES C)
SET(CMAKE_C_STANDARD 11)
SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/bin)
ADD_COMPILE_DEFINITIONS(PROJECT_VERSION="${PROJECT_VERSION}")

Loading…
Cancel
Save