Compare commits

..

16 Commits

Author SHA1 Message Date
Andrea Cavalli
3df9f70d59 Update CMakeLists.txt 2020-12-27 11:56:35 +01:00
Andrea Cavalli
93f3831e49 Update CMakeLists.txt 2020-12-27 11:39:51 +01:00
Andrea Cavalli
43ca916f66 Fix spelling error 2020-12-24 22:00:21 +01:00
d137b75516 Update tl-parser in release builds
- Changed assertions to abort to allow the build to fail on release
  targets
- Fixed some wrong assertion
- Changed all stderr print to the respective macro
2020-12-24 18:55:44 +01:00
98b469c21d Merge branch 'master' of https://git.ignuranza.net/tdlight-team/tl-parser 2020-12-24 14:22:28 +01:00
dadc301e05 Fix output for release builds 2020-12-24 14:21:59 +01:00
Andrea Cavalli
c478b339e0 Update CMakeLists.txt 2020-12-24 12:51:44 +01:00
Andrea Cavalli
6ff5d408d8 Update CMakeLists.txt 2020-12-24 12:44:25 +01:00
Andrea Cavalli
c089daaa41 Clean indentation 2020-12-24 11:56:51 +01:00
Andrea Cavalli
59cf947e2c Update .gitignore 2020-12-24 11:16:11 +01:00
3af38fb06b Revamp build system with CMake
- Completely removed config.h generation file, as it was not used
	anywere in the code
- Removed all the old build files and switched to CMake (3.0+)
- As tl-parser only uses zlib for crc32, removing the dependency makes
	the CMake file easier to maintain and makes the code building
	without third party code. The crc32 implementation was taken from
	abb3e47a98.
2020-12-24 03:32:53 +01:00
fd52554f6d Merge branch 'master' of https://github.com/ZeroPass/tl-parser 2020-12-24 02:13:15 +01:00
smlu
5a0dfa4248 Bug fix 2015-11-30 14:34:24 +01:00
smlu
a9047956a4 Add support for compilation on Windows using VS or MinGW 2015-11-04 15:09:07 +01:00
smlu
0265dc9ec2 Add Visual Studio project 2015-11-04 14:33:47 +01:00
smlu
659a3e7cd8 Add gitignore Visual Studio 2015-11-04 14:31:25 +01:00

View File

@ -10,6 +10,10 @@ if (MSVC)
set(CMAKE_EXE_LINKER_FLAGS "/SUBSYSTEM:CONSOLE")
endif()
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_DEBUG .)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE .)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_RELWITHDEBINFO .)
add_executable(${PROJECT_NAME} ${SOURCES})
if (NOT WIN32)
target_link_libraries(${PROJECT_NAME} m)