Locally maintained version of the FieldSystem VEX parser as separate project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

27 lines
710 B

project(myvex)
cmake_minimum_required (VERSION 2.6.0)
include(CheckCXXCompilerFlag)
set(PROJECT_VERSION_MAJOR 0)
set(PROJECT_VERSION_MINOR 1)
set(PROJECT_VERSION_PATCH 0)
set(PROJECT_VERSION_REVISION 0)
set(PROJECT_VERSION
"${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
#set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
# Set policy to require CMakeLists.txt in every source directory
cmake_policy(SET CMP0014 NEW)
# We require BISON and FLEX
find_package(BISON)
find_package(FLEX)
# Make gcc not warn about implicit fall through
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-implicit-fallthrough")
# include source directory for library target 'vex'
add_subdirectory(src)