This commit is contained in:
		| @@ -25,6 +25,6 @@ steps: | ||||
|       - update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix | ||||
|       - update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix | ||||
|       - cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DWINDOWS=ON | ||||
|       - cmake --build build-release-windows --target all -- -j  4 -D WINDOWS=on | ||||
|       - cmake --build build-release-windows --target all -- -j  4 | ||||
|       - export WINEARCH=win64 | ||||
|       - wine build-release-windows/PorygonLangTests.exe -s | ||||
|   | ||||
| @@ -6,6 +6,10 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON) | ||||
|  | ||||
| include_directories(extern) | ||||
|  | ||||
| if (WINDOWS) | ||||
|     ADD_DEFINITIONS(-D WINDOWS=1) | ||||
| endif(WINDOWS) | ||||
|  | ||||
| file(GLOB_RECURSE SRC_FILES "src/*.cpp" "src/*.hpp") | ||||
| file(GLOB_RECURSE TEST_FILES "tests/*.cpp" "tests/*.hpp") | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user