| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
target_compile_features() is used
This raises the required CMake version for this branch to get a better error
message. target_compile_features() was introduced in CMake 3.1.
|
| |
|
|
|
|
| |
2.3 that ships with XCode
|
|
|
|
|
|
|
|
|
|
|
| |
```
constexp.y:46.1-13: warning: deprecated directive, use ‘%name-prefix’ [-Wdeprecated]
%name-prefix="constexpYY"
^^^^^^^^^^^^^
[...]/src/constexp.y:46.1-13: warning: deprecated directive, use ‘%name-prefix’ [-Wdeprecated]
%name-prefix="constexpYY"
^^^^^^^^^^^^^
```
|
|\
| |
| | |
build: fix the way lang_cfg.h is generated
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This header is generated by running cmake/lang_cfg.cmake and
redirecting its stderr. If any warning is emitted by this script, it
ends up in the generated header and breaks the build.
To avoid such problems: pass the path to the header as an argument to
the cmake script and use the cmake 'file' command instead of 'message'.
We can't even use message(STATUS...) as - although it prints to stdout
as opposed to other types of messages - it prepends all output with
a double hyphen.
|
| | |
|
|/
|
|
| |
See: https://clang.llvm.org/docs/JSONCompilationDatabase.html
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
improve performance
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Adding the options LAEX_FLAGS and YACC_FLAGS to the COMPILE_FLAGS for flex/lex bison/yacc to create more flexibility during compilation.
Example:
when one wants to compile e.g. fortranscanner.l with the flex debug flag -d one can perform the following steps:
- touch fortranscanner.l in te src directory
- run make LEX_FLAGS=-d
or
set environment variable LEX_FLAGS to -d
run make
to undo this touch again forttranscanner -l and run make (don't forget to unset the environment variable LEX_FLAGS)
Analogous for bison/yacc wit the YACC_FLAGS
|
|
|
|
|
|
| |
This can happen when user override definition of -DBUILD_SHARED_LIBS=ON.
Without this hard-enforce the libraries would be generated as shared
while never installed. Thus resulting in broken binaries.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
runtest.pl replaced by testing/test_driver.cmake
version.py replaced by cmake/version.cmake
lang_cfg.py replaced by cmake/lang_cfg.cmake
settings.py implemented in src/CMakeLists.txt
increasebuffer.py replaced by defining the YY_BUF_SIZE and YY_READ_BUF_SIZE
Signed-off-by: Adrian Negreanu <adrian.m.negreanu@intel.com>
|