Skip to content
Snippets Groups Projects
Commit 139948d6 authored by Steven Murray's avatar Steven Murray
Browse files

Some more

parent 361b286a
Branches
Tags
No related merge requests found
cmake_minimum_required (VERSION 2.6)
# All common variables and values to be used by all CMakeLists.txt files should
# be specified here
set (CMAKE_C_FLAGS "-fPIC -Wall -Wextra -Werror -Wno-unused-parameter")
set (CMAKE_CXX_FLAGS "-fPIC -Wall -Wextra -Werror -Wno-unused-parameter")
set_property (
DIRECTORY
PROPERTY COMPILE_DEFINITIONS _LARGEFILE64_SOURCE)
set_property ( DIRECTORY PROPERTY COMPILE_DEFINITIONS _LARGEFILE64_SOURCE)
add_subdirectory (tape)
......@@ -9,8 +9,8 @@ set_property (
APPEND PROPERTY COMPILE_DEFINITIONS BIN="/usr/bin")
# A set of eight source files for the tape library need to be copied to files to
# with usr prepended to their names. These usr... source files must then have
# -DNOTRACE added to their compilation flags
# with usr prepended to their names. These usr files must then be compiled
# with the -DNOTRACE option
foreach (SRC_FILE locate.c readlbl.c rwndtape.c skiptape.c tperror.c usrmsg.c
writelbl.c wrttpmrk.c)
set (TAPE_LIB_USR_SRC_FILES ${TAPE_LIB_USR_SRC_FILES} usr${SRC_FILE})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment