cmake_minimum_required(VERSION 2.8)

file(GLOB dotconf_sources "../contrib/dotconf/src/*.c")

file(GLOB sources "*.cpp")
file(GLOB headers "*.h")

add_executable(dazeus ${sources} ${headers} ${dotconf_sources})
add_definitions("-Wall -Wextra -Weffc++ -Wno-long-long -pedantic -DNDEBUG")
include_directories("../contrib/dotconf/src")
target_link_libraries(dazeus ${LIBS})

install (TARGETS dazeus DESTINATION bin)

cmake_minimum_required(VERSION 2.8)

file(GLOB dotconf_sources "../contrib/dotconf/src/*.c")

file(GLOB sources "*.cpp")
file(GLOB headers "*.h")

add_executable(dazeus ${sources} ${headers} ${dotconf_sources})
add_definitions("-Wall -Wextra -Weffc++ -Wno-long-long -pedantic")
include_directories("../contrib/dotconf/src")
target_link_libraries(dazeus ${LIBS})

install (TARGETS dazeus DESTINATION bin)

Remove -DNDEBUG from compile options so assert() is compiled in on debug builds
Remove -DNDEBUG from compile options so assert() is compiled in on debug builds
