Fixing build for the millionth time

This commit is contained in:
Dynamitos
2020-08-11 22:38:19 +02:00
parent 839be06f90
commit 6814587b54
12 changed files with 34 additions and 26 deletions
+17 -17
View File
@@ -67,28 +67,28 @@ target_link_libraries(SeeleEngine ${SLANG_LIBRARY})
target_link_libraries(SeeleEngine ${ASSIMP_LIBRARIES})
target_link_libraries(SeeleEngine ${JSON_LIBRARY})
target_precompile_headers(SeeleEngine
PRIVATE
<assert.h>
<memory>
<atomic>
<cstring>
<iostream>
<string>
<thread>
<functional>
<filesystem>
<fstream>
<mutex>
<condition_variable>
<boost/serialization/serialization.hpp>
<boost/crc.hpp>)
#target_precompile_headers(SeeleEngine
# PRIVATE
# <assert.h>
# <memory>
# <atomic>
# <cstring>
# <iostream>
# <string>
# <thread>
# <functional>
# <filesystem>
# <fstream>
# <mutex>
# <condition_variable>
# <boost/serialization/serialization.hpp>
# <boost/crc.hpp>)
add_subdirectory(src/)
if(MSVC)
set(_CRT_SECURE_NO_WARNINGS)
target_compile_options(SeeleEngine PRIVATE /DEBUG:FASTLINK /Zi)
# target_compile_options(SeeleEngine PRIVATE /DEBUG:FASTLINK /Zi)
else()
target_compile_options(SeeleEngine PRIVATE -Wall -Wextra -pedantic)
endif()