[DEV] continue interation of GLD ==> for cmake compatibility
This commit is contained in:
20
cmake/CMakeLists.txt
Normal file
20
cmake/CMakeLists.txt
Normal file
@@ -0,0 +1,20 @@
|
||||
cmake_minimum_required(VERSION 3.20)
|
||||
project(GlobalSearch)
|
||||
|
||||
|
||||
message("List of modules: ${CMAKE_MODULE_PATH}")
|
||||
|
||||
#LIST(APPEND CMAKE_MODULE_PATH "cmake")
|
||||
|
||||
#find_package(GLDBuilder REQUIRED)
|
||||
|
||||
include("cmake/GLDBuilder.cmake")
|
||||
|
||||
#GLD_import("./" "etk-core")
|
||||
|
||||
get_filename_component(LOCAL_FILE_PATH "." ABSOLUTE)
|
||||
GLD_auto_prebuild_load_all("${LOCAL_FILE_PATH}")
|
||||
GLD_auto_load_all("${LOCAL_FILE_PATH}")
|
||||
|
||||
GLD_instanciate()
|
||||
|
1124
cmake/GLDBuilder.cmake
Normal file
1124
cmake/GLDBuilder.cmake
Normal file
File diff suppressed because it is too large
Load Diff
19
cmake/GLDPrebuild_Linux_alsa.json
Normal file
19
cmake/GLDPrebuild_Linux_alsa.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"ALSA : Advanced Linux Sound Architecture",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c-link": "-lasound"
|
||||
},
|
||||
"dependency":[
|
||||
"c"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
17
cmake/GLDPrebuild_Linux_c.json
Normal file
17
cmake/GLDPrebuild_Linux_c.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"C: Generic gnu C library",
|
||||
"license":"LGPL",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":[
|
||||
"c-remove": "-nostdinc"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
23
cmake/GLDPrebuild_Linux_cxx.json
Normal file
23
cmake/GLDPrebuild_Linux_cxx.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"CXX: Generic gnu C++ library",
|
||||
"license":"LGPL",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c++-remove": "-nostdlib",
|
||||
"c++": "-D__STDCPP_GNU__"
|
||||
},
|
||||
"dependency":[
|
||||
"c",
|
||||
"m",
|
||||
"pthread"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
20
cmake/GLDPrebuild_Linux_m.json
Normal file
20
cmake/GLDPrebuild_Linux_m.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"M: Generic math library",
|
||||
"license":"LGPL",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c-link": "-lm"
|
||||
},
|
||||
"dependency":[
|
||||
"c"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
19
cmake/GLDPrebuild_Linux_opengl.json
Normal file
19
cmake/GLDPrebuild_Linux_opengl.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"org.opengl",
|
||||
"description":"OpenGL: Generic graphic library",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c-link": "-lGL"
|
||||
},
|
||||
"dependency":[
|
||||
"c"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
20
cmake/GLDPrebuild_Linux_pthread.json
Normal file
20
cmake/GLDPrebuild_Linux_pthread.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"pthread: Generic multithreading system",
|
||||
"license":"LGPL",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c-link": "-lpthread"
|
||||
},
|
||||
"dependency":[
|
||||
"c"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
19
cmake/GLDPrebuild_Linux_z.json
Normal file
19
cmake/GLDPrebuild_Linux_z.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"type":"LIBRARY",
|
||||
"sub-type":"PREBUILD",
|
||||
"group-id":"gnu",
|
||||
"description":"Z : z library ",
|
||||
"sanity-compilation": {
|
||||
"intricate": {
|
||||
"flag":{
|
||||
"c-link": "-lz"
|
||||
},
|
||||
"dependency":[
|
||||
"c"
|
||||
]
|
||||
},
|
||||
"!intricate":{
|
||||
"error":true
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user