Cut over to Bazel.
This commit is contained in:
@@ -15,7 +15,7 @@ set(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake" ${CMAKE_MODULE_PATH})
|
||||
|
||||
# Don't warn on unused functions, because this is a library and not all
|
||||
# functions might be used.
|
||||
add_compile_options(-Werror -Wno-unused-function -Wall -g -O0)
|
||||
# add_compile_options(-Werror -Wno-unused-function -Wall -g -O0)
|
||||
|
||||
if (DEFINED ENV{CMAKE_GCOV})
|
||||
add_compile_options(-fprofile-arcs -ftest-coverage)
|
||||
@@ -29,10 +29,10 @@ message(STATUS, "Code coverage enabled.")
|
||||
endif()
|
||||
|
||||
|
||||
include_directories(include)
|
||||
include_directories(wrmath)
|
||||
|
||||
file(GLOB_RECURSE ${PROJECT_NAME}_HEADERS include/**.h)
|
||||
file(GLOB_RECURSE ${PROJECT_NAME}_SOURCES src/*.cc)
|
||||
file(GLOB_RECURSE ${PROJECT_NAME}_HEADERS wrmath/**.h)
|
||||
file(GLOB_RECURSE ${PROJECT_NAME}_SOURCES wrmath/*.cc)
|
||||
|
||||
|
||||
## BUILD
|
||||
@@ -109,4 +109,4 @@ include(CMakePack.txt)
|
||||
|
||||
|
||||
## DOCUMENTATE
|
||||
add_subdirectory ("docs")
|
||||
## add_subdirectory ("docs")
|
||||
|
||||
Reference in New Issue
Block a user