Disabled annotation. Improved compilation flag for Cython
This commit is contained in:
parent
e137ea9b9f
commit
dd0b011fa3
@ -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()
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user