We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc82968 commit 9ca2c4bCopy full SHA for 9ca2c4b
CMakeLists.txt
@@ -30,7 +30,17 @@ find_package(OpenGeode REQUIRED)
30
31
#------------------------------------------------------------------------------------------------
32
# Configure the MyModule libraries
33
-add_subdirectory(src/mylib)
+add_geode_library(
34
+ NAME mylib
35
+ FOLDER "mylib"
36
+ SOURCES
37
+ "common.cpp"
38
+ "hello_world.cpp"
39
+ PUBLIC_HEADERS
40
+ "hello_world.h"
41
+ PRIVATE_DEPENDENCIES
42
+ OpenGeode::basic
43
+)
44
45
46
# Optional modules configuration
src/mylib/CMakeLists.txt
0 commit comments