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 9ba82e0 commit 49f03f2Copy full SHA for 49f03f2
Core/Tools/ScriptCompiler/CMakeLists.txt
@@ -0,0 +1,19 @@
1
+set(SCRIPTCOMPILER_SRC
2
+ "ScriptCompiler.cpp"
3
+)
4
+
5
+find_package(nlohmann_json CONFIG REQUIRED)
6
7
+add_executable(core_scriptcompiler)
8
+set_target_properties(core_scriptcompiler PROPERTIES OUTPUT_NAME scriptcompiler)
9
10
+target_sources(core_scriptcompiler PRIVATE ${SCRIPTCOMPILER_SRC})
11
12
+target_link_libraries(core_scriptcompiler PRIVATE
13
+ nlohmann_json::nlohmann_json
14
15
16
+if(WIN32 OR "${CMAKE_SYSTEM}" MATCHES "Windows")
17
+ target_link_options(core_scriptcompiler PRIVATE /subsystem:console)
18
+endif()
19
0 commit comments