Cheers
*** CMakeLists.txt.old 2012-08-05 12:56:06.000000000 +0300
--- CMakeLists.txt 2012-09-10 21:39:33.000000000 +0300
***************
*** 93,100 ****
../../source/as_variablescope.h
)
! include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../include
! )
add_definitions("-D_CRT_SECURE_NO_WARNINGS -DANGELSCRIPT_EXPORT -D_LIB")
--- 93,99 ----
../../source/as_variablescope.h
)
! include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../include)
add_definitions("-D_CRT_SECURE_NO_WARNINGS -DANGELSCRIPT_EXPORT -D_LIB")
***************
*** 106,111 ****
--- 105,113 ----
add_library(Angelscript STATIC ${ANGELSCRIPT_SOURCE} ${ANGELSCRIPT_HEADERS})
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/../../lib)
+ find_package(Threads)
+ target_link_libraries(Angelscript ${CMAKE_THREAD_LIBS_INIT})
+
if(MSVC)
set_target_properties(Angelscript PROPERTIES COMPILE_FLAGS "/MP")
endif(MSVC)
***************
*** 113,117 ****
set(RUNTIME_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/../../bin)
add_subdirectory(../../../samples/game/projects/cmake/ ./game)
- add_subdirectory(../../../tests/test_feature/projects/cmake/ ./test_feature)
- add_subdirectory(../../../tests/test_performance/projects/cmake/ ./test_performance)
--- 115,117 ----