share/hedgewars/Data/Scripts/CMakeLists.txt
author Wuzzy <Wuzzy2@mail.ru>
Thu, 19 Apr 2018 15:48:00 +0200
changeset 13344 450e37b2b4d4
parent 8443 2debc9b9f917
permissions -rw-r--r--
Fix incorrect check for iPhone macro in hwconsts.h TARGET_OS_IPHONE is always defined when building on Mac OS, so the define was wrong. This macro expands to either 0 or 1, so a simple #if should be enough.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4502
759c1a3bb156 lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
Henek
parents:
diff changeset
     1
file(GLOB luafiles *.lua)
759c1a3bb156 lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
Henek
parents:
diff changeset
     2
759c1a3bb156 lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
Henek
parents:
diff changeset
     3
install(FILES
8443
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 4513
diff changeset
     4
    ${luafiles}
2debc9b9f917 remove trailing whitespaces from share too
koda
parents: 4513
diff changeset
     5
    DESTINATION ${SHAREPATH}Data/Scripts)
4502
759c1a3bb156 lua access to data dir by GetDataPath and made a new scripting translation system with Locale.lua as library and .lua files under Locale. Updated maps Basketball and Knockball to this new system.
Henek
parents:
diff changeset
     6
4513
1dd97c710f5a added general scripts to multiplayer and added option for scripts to allow user set schemes or weapon sets.
Henek
parents: 4502
diff changeset
     7
add_subdirectory(Multiplayer)