This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple CMake utility to read variables from MK files | |
# - Gets contents from given file (name or path) | |
# - Parses the assignment statements | |
# - Makes the same assignments in the PARENT_SCOPE | |
if(POLICY CMP0007) | |
cmake_policy(SET CMP0007 NEW) | |
endif() | |
function(ReadVariables MKFile) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Cython.Compiler import Options | |
Options.annotate = True | |
Options.fast_fail = True | |
from Cython.Build import cythonize | |
cythonize(["main.pyx"], language='c++') |