Remove top-level CMakeListst.txt

It was a bad idea...
This commit is contained in:
Zeex 2018-09-02 09:45:57 +06:00
parent 641169e053
commit f64500c355
3 changed files with 5 additions and 15 deletions

View File

@ -15,9 +15,10 @@ addons:
before_script: before_script:
- mkdir build && cd build - mkdir build && cd build
- cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo - cmake ../source/compiler
-DCMAKE_C_FLAGS="-m32 -Werror -Wno-address-of-packed-member" -DCMAKE_BUILD_TYPE=RelWithDebInfo
-DCPACK_GENERATOR="TGZ;ZIP" -DCMAKE_C_FLAGS="-m32 -Werror -Wno-address-of-packed-member"
-DCPACK_GENERATOR="TGZ;ZIP"
script: script:
- make - make

View File

@ -1,11 +0,0 @@
project(pawn C)
cmake_minimum_required(VERSION 2.8)
set(OUTPUT_DIR ${CMAKE_BINARY_DIR}/products)
add_subdirectory(source/compiler ${OUTPUT_DIR})
# For the compiler we only utilize headers from source/amx, i.e. we don't
# actually build any of the AMX modules.
if(BUILD_AMX)
add_subdirectory(source/amx ${OUTPUT_DIR})
endif()

View File

@ -6,7 +6,7 @@ configuration:
before_build: before_build:
- mkdir build && cd build - mkdir build && cd build
- cmake .. -G "Visual Studio 14 2015" -DCPACK_GENERATOR=ZIP -DCMAKE_GENERATOR_TOOLSET=v100 - cmake ../source/compiler -G "Visual Studio 14 2015" -DCPACK_GENERATOR=ZIP -DCMAKE_GENERATOR_TOOLSET=v100
build_script: build_script:
- cmake --build . --config %CONFIGURATION% - cmake --build . --config %CONFIGURATION%