Tue, 04 Feb 2014 02:28:33 +0200
- now compiles again, further work on expressions (proper parsing + assignment operator handling (albeit unrelated) + operator adjusting)
82
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
1 | cmake_minimum_required (VERSION 2.8) |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
2 | |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
3 | add_subdirectory (updaterevision) |
71
11f23fabf8a6
- moved sources to src/, migrated to cmake
Teemu Piippo <crimsondusk64@gmail.com>
parents:
diff
changeset
|
4 | add_executable (botc |
88 | 5 | src/Commands.cc |
6 | src/DataBuffer.cc | |
7 | src/Events.cc | |
92
3a00d396bce2
- now compiles again, further work on expressions (proper parsing + assignment operator handling (albeit unrelated) + operator adjusting)
Teemu Piippo <crimsondusk64@gmail.com>
parents:
88
diff
changeset
|
8 | src/Expression.cc |
88 | 9 | src/Format.cc |
10 | src/Lexer.cc | |
11 | src/LexerScanner.cc | |
12 | src/Main.cc | |
13 | src/Parser.cc | |
14 | src/String.cc | |
15 | src/StringTable.cc | |
16 | src/Variables.cc | |
72
03e4d9db3fd9
- major refactoring begins
Teemu Piippo <crimsondusk64@gmail.com>
parents:
71
diff
changeset
|
17 | ) |
03e4d9db3fd9
- major refactoring begins
Teemu Piippo <crimsondusk64@gmail.com>
parents:
71
diff
changeset
|
18 | |
82
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
19 | get_target_property (UPDATEREVISION_EXE updaterevision LOCATION) |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
20 | |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
21 | add_custom_target (revision_check ALL |
88 | 22 | COMMAND ${UPDATEREVISION_EXE} src/GitInformation.h |
82
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
23 | WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
24 | DEPENDS updaterevision) |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
25 | |
75
bf8c57437231
- renamed files to .cxx, restructured parser.cc
Teemu Piippo <crimsondusk64@gmail.com>
parents:
73
diff
changeset
|
26 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -W -Wall") |
82
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
27 | |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
28 | if ("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
29 | set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DDEBUG") |
841562f5a32f
- added the public-domain updaterevision so I can have access to git stuff
Teemu Piippo <crimsondusk64@gmail.com>
parents:
75
diff
changeset
|
30 | endif() |