windows fixes
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
e4cf12137a
commit
69404a26da
|
@ -30,6 +30,7 @@ CPMAddPackage(
|
||||||
include_directories(${Angelscript_SOURCE_DIR}/angelscript/include)
|
include_directories(${Angelscript_SOURCE_DIR}/angelscript/include)
|
||||||
include_directories(${Angelscript_SOURCE_DIR}/add_on)
|
include_directories(${Angelscript_SOURCE_DIR}/add_on)
|
||||||
|
|
||||||
|
|
||||||
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/)
|
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include/)
|
||||||
include_directories(${PkmnLib_BINARY_DIR}/include/)
|
include_directories(${PkmnLib_BINARY_DIR}/include/)
|
||||||
|
|
||||||
|
@ -47,7 +48,7 @@ add_executable(PokemonScriptTester ${SRC_FILES})
|
||||||
add_definitions(-DLEVEL_U8)
|
add_definitions(-DLEVEL_U8)
|
||||||
ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER)
|
ADD_DEFINITIONS(-DANGELSCRIPT_DEBUGGER)
|
||||||
|
|
||||||
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger)
|
SET(_LINKS -static pkmnLib Arbutils AngelscriptDebugger -Wl,-Bstatic -lgcc -lstdc++ -lpthread -Wl,-Bdynamic)
|
||||||
target_link_libraries(PokemonScriptTester PUBLIC ${_LINKS})
|
target_link_libraries(PokemonScriptTester PUBLIC ${_LINKS})
|
||||||
target_compile_options(PokemonScriptTester PRIVATE -Wall -Wextra -Werror)
|
target_compile_options(PokemonScriptTester PRIVATE -Wall -Wextra -Werror)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue