Login
NedoOS
BlueGrey
calm
Elegant
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
NedoOS
(root)
/
tools
/
src
/
sjasmplus
/
LuaBridge
/
CMakeLists.txt
– Rev 1537
Rev
Blame
|
Last modification
|
View Log
|
Download
|
RSS feed
cmake_minimum_required
(
VERSION
3.5
)
project
(
LuaBridge
)
include
(
CMakeDependentOption
)
option
(
LUABRIDGE_CXX17
"Use C++17 standard if supported by compiler"
OFF
)
if
(
LUABRIDGE_CXX17
)
set
(
CMAKE_CXX_STANDARD 17
)
else
()
set
(
CMAKE_CXX_STANDARD 11
)
endif
()
set
(
CMAKE_CXX_STANDARD_REQUIRED
ON
)
set
(
CMAKE_CXX_EXTENSIONS
OFF
)
cmake_dependent_option
(
LUABRIDGE_TESTING
"Build tests"
ON
"CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR"
OFF
)
if
(
WIN32
)
add_compile_options
(
/MP
)
endif
()
add_subdirectory
(
Source
)
if
(
LUABRIDGE_TESTING
)
set
(
gtest_force_shared_crt
ON
CACHE
BOOL
"Use /MD and /MDd"
FORCE
)
add_subdirectory
(
third_party/gtest
)
enable_testing
()
add_subdirectory
(
Tests
)
endif
()
add_custom_target
(
Documentation SOURCES
.github/workflows/cmake.yml
CHANGES.md
README.md
Doxyfile
index.html
Manual.html
)