Daniel Sipka
f9c06163ee
how to use mstch in your project
2015-10-15 20:22:19 +02:00
Romuald CARI
74ed09fda0
Allow inclusion in another project
...
CMake allows projects to build dependencies as subdirectories using the
add_subdirectory command.
CMAKE_SOURCE_DIR refers to the top-level project directory which may very well
*not* be the mstch root directory if mstch is "embedded" in another project.
This patch offers to use PROJECT_SOURCE_DIR instead which accurately refers to
the "source directory of the most recent `project()` command", in this case, the
mstch root directory.
2015-10-13 16:26:40 +02:00
Daniel Sipka
cc2c18f1c8
use proper type
2015-10-10 14:01:13 +02:00
Daniel Sipka
618652c987
clean unused parameter warnings
2015-10-10 14:00:45 +02:00
Daniel Sipka
ab344b692f
performance tweaks
2015-10-10 13:36:30 +02:00
Daniel Sipka
d805fd6f15
fix unnecessary assignment
2015-10-02 13:52:43 +02:00
Daniel Sipka
fc59284ee7
invalid iterator bug fix
2015-10-02 13:08:46 +02:00
Daniel Sipka
5d94984c6c
reference bug fix
2015-10-01 18:18:44 +02:00
Daniel Sipka
110a07d808
proper cmake package
2015-09-30 16:30:19 +02:00
Daniel Sipka
fe44723d4e
use CMAKE_INCLUDE_CURRENT_DIR
2015-09-24 11:51:00 +02:00
Daniel Sipka
87912c46db
MSVC support
2015-09-24 11:43:27 +02:00
Daniel Sipka
355601bc3a
use node as lambda return type
2015-05-05 14:15:47 +02:00
Daniel Sipka
18634602ef
simplify code
2015-05-05 08:49:42 +02:00
Daniel Sipka
1d0d1bde8f
specs compliant lambdas
2015-05-04 16:14:32 +02:00
Daniel Sipka
0afaf7b8a1
standalone partial whitespace prefix
2015-05-04 14:12:51 +02:00
Daniel Sipka
b88a7888fe
no iostream.
2015-05-04 13:31:59 +02:00
Daniel Sipka
82c34735c4
Standalone tags should not require a newline to follow them.
2015-05-04 12:57:01 +02:00
Daniel Sipka
65d6395e71
skip spaces in delimiter change tags
2015-05-04 11:27:51 +02:00
Daniel Sipka
d14c647134
support DOS newlines in templates
2015-05-04 10:38:42 +02:00
Daniel Sipka
8fa398252d
no need for template specialization
2015-04-29 13:47:24 +02:00
Daniel Sipka
105e708d42
double value support
2015-04-29 10:53:01 +02:00
Daniel Sipka
fe86e2ce50
simplify code
2015-04-27 14:29:12 +02:00
Daniel Sipka
4d6744dc63
simplify code
2015-04-27 14:14:21 +02:00
Daniel Sipka
4f35bcae25
simplify code
2015-04-27 13:59:36 +02:00
Daniel Sipka
39748d3a60
possible dangling reference
2015-04-26 15:34:46 +02:00
Daniel Sipka
04ad48806e
virtual destructor
2015-04-24 23:33:48 +02:00
Daniel Sipka
876f982cde
cmake install
2015-04-24 01:48:42 +02:00
Daniel Sipka
7c5d88d914
rewrite html_escape without boost replace
2015-04-24 01:02:25 +02:00
Daniel Sipka
8a32d98443
refactor tokenizer with delimiter change support
2015-04-24 00:35:13 +02:00
Daniel Sipka
7bdde0783f
full lambda support
2015-04-23 15:55:18 +02:00
Daniel Sipka
f4dd438fcc
reformat
2015-04-23 12:54:08 +02:00
Daniel Sipka
29980e299c
reformat
2015-04-23 11:06:44 +02:00
Daniel Sipka
dd33046a56
reorder warning
2015-04-22 18:50:20 +02:00
Daniel Sipka
e3ea7f8093
use boost 1.54 with travis
2015-04-22 12:17:18 +02:00
Daniel Sipka
64133302c6
remove incomplete code
2015-04-22 12:01:38 +02:00
Daniel Sipka
0ddf2cd121
filter lambda support
2015-04-22 11:39:07 +02:00
Daniel Sipka
a30ae992d6
reformat
2015-04-21 20:44:54 +02:00
Daniel Sipka
21a27f4047
refactor
2015-04-21 16:54:54 +02:00
Daniel Sipka
8f7210f95d
c++ object support
2015-04-21 15:04:11 +02:00
Daniel Sipka
812b4bdb41
object support
2015-04-17 02:07:14 +02:00
Daniel Sipka
8fbcd12284
half-complete refactor
2015-04-16 21:05:59 +02:00
Daniel Sipka
25bbbfdbcc
optimizations
2015-04-16 11:41:57 +02:00
Daniel Sipka
dc513839bd
extract template_type from render_context
2015-04-16 00:49:45 +02:00
Daniel Sipka
ba64f4e541
use pragma once
2015-04-15 23:37:32 +02:00
Daniel Sipka
127609f392
optimizations
2015-04-15 22:32:27 +02:00
Daniel Sipka
48fbaeb3c9
optimizations
2015-04-15 16:13:23 +02:00
Daniel Sipka
bb21e64a51
optimizations
2015-04-15 01:42:51 +02:00
Daniel Sipka
e10e9b6d86
optimizations
2015-04-13 16:35:12 +02:00
Daniel Sipka
6369a38800
use boost::regex instead of std::regex
2015-04-13 10:18:58 +02:00
Daniel Sipka
8d1336d7df
optimize
2015-04-13 02:34:27 +02:00