Disabled annotation. Improved compilation flag for Cython

This commit is contained in:
Anne de Jong 2020-11-19 11:11:38 +01:00
parent e137ea9b9f
commit dd0b011fa3
2 changed files with 6 additions and 5 deletions

View File

@ -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()