diff --git a/CMakeLists.txt b/CMakeLists.txt index 6aee051..a562df0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -100,6 +100,7 @@ else() endif(CMAKE_SYSTEM_NAME STREQUAL "Windows") +set(CYTHON_FLAGS "--fast-fail") if(LASP_DEBUG) set(TRACERNAME LASPTracer) set(LASP_DEBUG_CYTHON=True) @@ -111,7 +112,7 @@ if(LASP_DEBUG) add_definitions(-DDEBUG) add_definitions(-DTRACER=1) # This will produce html files - set(CYTHON_ANNOTATE ON) + # set(CYTHON_ANNOTATE ON) # Add the __FILENAME__ macro # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__FILENAME__='\"$(subst ${CMAKE_SOURCE_DIR}/,,$(abspath $<))\"'") else() diff --git a/lasp/CMakeLists.txt b/lasp/CMakeLists.txt index 4e43bb3..8a827ad 100644 --- a/lasp/CMakeLists.txt +++ b/lasp/CMakeLists.txt @@ -6,10 +6,10 @@ include(UseCython) find_package(Numpy REQUIRED ) include_directories( - ${PYTHON_NUMPY_INCLUDE_DIR} - . - c - ) + ${PYTHON_NUMPY_INCLUDE_DIR} + . + c + ) add_subdirectory(c) add_subdirectory(device)